jQuery UI Widgets › Forums › Grid › Display filter operator selected when using filterrow
Tagged: angular grid, filter, filter menu, filter operator, filter row, filtering, grid, jquery grid, jqxgrid
This topic contains 1 reply, has 2 voices, and was last updated by Dimitar 8 years, 8 months ago.
Hello,
Is there a way to display the filter operator selected when filtering by values ? By Example, show the operator selected when filtering the ‘Qtty’ column in this demo : http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/filterrow.htm
Also, is there a way to have both, filterrow and default filter UI enabled at the same time ?
Thx,
Hello zenmod,
$("#jqxgrid").on("filter", function (event) { var filterInfo = event.args.filters[0].filter.getfilters(); alert('Filter operator: ' + filterInfo[0].operator + '; filter condition: ' + filterInfo[0].condition); });
Best Regards, Dimitar
jQWidgets team http://www.jqwidgets.com/
You must be logged in to reply to this topic.