I am returning my json request in combination with the loadonce option. This works fine. What I want to do is apply the defaultValue from the colModel searchOptions object to the loaded data.
Essentially return ALL data then on loadComplete event trigger the toolbar search event via grid[0].triggerToolbar() to apply my default values supplied by the colModel searchOptions.
However, from what I can tell the fact that the loadonce option is set it no search event is triggered since there is no additional remote request due to the fact that searching is happening locally.
We have tried manually triggering events such as click, keyup, change etc on the various toolbar search fields ( $(“##selector”).trigger('keyup'); ). We assumed since typing in the toolbar works just fine that this might work to manually trigger the local search event.
We also tried to manually trigger a click on the multiple search dialog's find button but still no luck.
Thanks in advance,
tim
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top