Lines Matching defs:filterId
158 var createFilterFieldAndSort = function(filterElement, filterType, filterId, field, sortType, fieldSelector, containerElement, caption, minWidth) {
159 createItemFilterAndSort(containerElement, filterId, field, fieldSelector, filterType);
161 var input = createFilterTextField(containerElement, filterId, caption);
168 var select = createFilterSelect(containerElement, filterId, fieldSelector, caption, cmp);
173 // Returns a text input which filters the field belonging to the given filterId
174 var createFilterTextField = function(element, filterId, caption) {
182 delete jQuery(element).data('strata-search')[filterId];
184 jQuery(element).data('strata-search')[filterId] = val.toLowerCase();
192 // Returns a select input which filters the field belonging to the given filterId
193 var createFilterSelect = function(element, filterId, fieldSelector, caption, cmp) {
224 delete jQuery(element).data('strata-search')[filterId];
226 jQuery(element).data('strata-search')[filterId] = jQuery(this).val().toLowerCase();
234 // Create a filter for every item of the field belonging to the given filterId
235 var createItemFilterAndSort = function(element, filterId, field, fieldSelector, filterType) {
277 addToItemMap(item, 'strata-item-filter', filterId, filter);
538 for (filterId in search) {
539 var filter = filterMap[filterId];
540 if (!filter(search[filterId])) {