1.0.22 • Published 1 year ago

px-jquery-filter-box v1.0.22

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago

description

Used to group objects used jquery-filter-box filter. When the filtering objects are many, up to 2 or more lines, jquery-filter-box allows you to group these objects as many times as you want. For example, you can use Filter 1, Filter 2, Filter 3, Filter 4, Filter 5 ... objects as a single object with jquery-filter-boxFilter 1, Filter 2, Filter 3, Filter 4, Filter 5. Sample images are available below.

description TR

jquery-filter-box filter için kullanılan nesneleri gruplamak için kullanılır. Filtreleme nesneleri çok olduğunda 2 veya daha fazla satıra çıktığında jquery-filter-box bu nesneleri istediğiniz kadar gruplamanızı sağlar. Örneğin Filter 1, Filter 2, Filter 3, Filter 4, Filter 5 ... nesnelerini jquery-filter-boxFilter 1, Filter 2, Filter 3, Filter 4, Filter 5 ile tek nesne olarak kullanabilirsiniz. Örnek resimler aşağıda mevcut.

install

npm i jquery npm i select2 npm i px-jquery-filter-box

html

\<div class="my-filter-blok d-none"> \<label for="filter-sube" data-member-name="sube">Şube\</label> \<select id="filter-sube" name="sube"> \<option value="1">Option 1\</option> \<option value="2">Option 2\</option> \</select> \<label for="filter-departman" data-member-name="departman">Departman\</label> \<select id="filter-departman" name="departman"> \<option value="1">Option 1\</option> \<option value="2">Option 2\</option> \</select> \<label data-member-name="durum">Durum\</label> \<select name="durum" multiple> \<option value="1">Durum 1\</option> \<option value="2">Durum 2\</option> \</select> \</div>

css

@import "~px-jquery-filter-box/px-filter-box.css";

javascript - jquery

require('px-jquery-filter-box');

init

$(".my-filter-blok").pxfilterbox({ show_selected_values: false, button: true, type: 'filter', //'filter' or 'sort' icon: "firsticon", button_caption: "Filtreyi Uygula", clean_text_visible: true, clean_text: "Seçimleri Temizle", select_add_default_option: true, select_default_text: "Seçiniz", selected_info_text: "Filtre Seçildi", callback: function(e){} });

calback result

result : {sube: "1", departman: null, durum: "1,2"}

view:

1.

alt text

2.

alt text

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago