This question is locked. New answers and comments are not allowed.
I am trying to add filter values so that they appear in the filter dropdowns. I would like to have various search form fields that can have values entered and then click search and it copies the values to the filter and are then applied. I am trying to acheive this with client side operation set to on.
If I disable client side operation. I can see that if I include code like
var grid = $(this).data('tGrid');
grid.filterBy = "Status~eq~'Open'";
in OnDataBinding the filtering occurs and only Status Open events are displayed. However it doesn't actually change the value in the filter. It is still displayed as empty even though the results are filtered.
If I do this with client side operation on the grid filter isn't applied at all.
So I guess the question is how can I get input to appear in the filters from a form element in non client side mode? And how do I get it to work in Client side mode?
Any ideas?
Thanks
Graeme
If I disable client side operation. I can see that if I include code like
var grid = $(this).data('tGrid');
grid.filterBy = "Status~eq~'Open'";
in OnDataBinding the filtering occurs and only Status Open events are displayed. However it doesn't actually change the value in the filter. It is still displayed as empty even though the results are filtered.
If I do this with client side operation on the grid filter isn't applied at all.
So I guess the question is how can I get input to appear in the filters from a form element in non client side mode? And how do I get it to work in Client side mode?
Any ideas?
Thanks
Graeme