Hello,
I need to initialize the search grid with the previous values when I come back on a page.
I made the necessary to put the filter values in a PHP SESSION variable, but I don't manage to trigger search with these values.
For exemple, I have a filed called “Nom” in a filter called “t_listSociete”. I want to initialize the search with value 'AGF'.
On $(document).ready, I added :
jQuery('#sg_Nom').val('AGF');
jQuery('#listSocietes').setGridParam({postData:{Nom:'AGF'}});
var cs = jQuery('#t_listSociete')[0];
cs.triggerSearch();
But I does not work at all…
Thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top