I’ve looked through the forums to try to find an answer to this but haven’t been able to do so. If it has been answered elsewhere I apologise, please direct me to the answer.
I have a grid that displays Timesheets for employees. When the grid is initially displayed I would like it to show the last two weeks of Timesheets. I’ve found that if I use a where clause in the underlying SQL that it will over ride the search criteria that may be entered later. I’ve looked at the onScriptInit event for the search criteria as an option but I don’t know how to trigger it to occur as soon as the application is first loaded (assuming that is the solution).
Additionally, when using the onScriptInit event for the Search is it possible to supply two values for the ‘Between’ option? I can supply one so far but would like to provide the second also for my users.
Any help would be greatly appreciated.