Disabling initial load

Mar 14, 2013 at 12:49 AM
Hi,

I'd like to prevent the jqgrid from calling back the server on load. I've read that this can be done by setting the grid 'datatype' parameter to 'local', but it is not available among the helper's JqGridDataTypes. Is there a workaround this?

Thanks,
Carlos.
Coordinator
Mar 14, 2013 at 9:12 PM
Hi,

The helper doesn't support such scenario at this point. What you can do is to set some flag (for example in PostData) which will inform the server to return empty result, later you can change this flag value in order to load data.

Regards,
Tomasz Pęczek