Skip to content

Commit 519f2f0

Browse files
committed
Update the filterable.messages.checkAll position to be after filterable.messages
1 parent 38b2fcf commit 519f2f0

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

api/javascript/ui/grid.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -947,31 +947,6 @@ Allows customization on the logic that renderes the checkboxes when using checkb
947947
});
948948
</script>
949949

950-
### columns.filterable.messages.checkAll `String`
951-
952-
The label used for the check-all checkbox.
953-
954-
#### Example - provide custom DataSource for the FilterMultiCheck filtering.
955-
<div id="grid"></div>
956-
<script>
957-
$("#grid").kendoGrid({
958-
columns: [{
959-
field: "country",
960-
filterable: {
961-
multi:true,
962-
messages: {
963-
checkAll: "Do select all"
964-
},
965-
itemTemplate: function(e) {
966-
return "<span><label><span>#= data.country|| data.all #</span><input type='checkbox' name='" + e.field + "' value='#= data.country#'/></label></span>"
967-
}
968-
}
969-
}],
970-
filterable: true,
971-
dataSource: [ { country: "BG" }, { country: "USA" } ]
972-
});
973-
</script>
974-
975950
### columns.filterable.ui `String|Function`
976951

977952
The role data attribute of the widget used in the filter menu or a JavaScript function which initializes that widget.
@@ -2850,6 +2825,32 @@ The text of the value item in filter menu (available in mobile mode only).
28502825
});
28512826
</script>
28522827

2828+
### filterable.messages.checkAll `String` *(default :"Select All")*
2829+
2830+
The label used for the check-all checkbox.
2831+
2832+
#### Example - provide custom DataSource for the FilterMultiCheck filtering.
2833+
<div id="grid"></div>
2834+
<script>
2835+
$("#grid").kendoGrid({
2836+
columns: [{
2837+
field: "country",
2838+
filterable: {
2839+
multi:true,
2840+
messages: {
2841+
checkAll: "Do select all"
2842+
},
2843+
itemTemplate: function(e) {
2844+
return "<span><label><span>#= data.country|| data.all #</span><input type='checkbox' name='" + e.field + "' value='#= data.country#'/></label></span>"
2845+
}
2846+
}
2847+
}],
2848+
filterable: true,
2849+
dataSource: [ { country: "BG" }, { country: "USA" } ]
2850+
});
2851+
</script>
2852+
2853+
28532854
### filterable.operators `Object`
28542855

28552856
The text of the filter operators displayed in the filter menu.

0 commit comments

Comments
 (0)