[jQuery] jqGrid - How to pass initial settings from url?
Hi, I'm new to jquery and I've been getting to grips with it while
using the awesome jqGrid plugin. I'm now using jqGrid exclusively in
my new web app to view grids of data. Its perfect.
One thing I'd like to do is to set some initial settings before
rendering the grid, taken from the url. This is because I'd like to
pass these settings from other places on the site, for instance I'd
like to pass in a setting telling the grid to only display results
from the previous week when a certain html menu item is clicked.
I know how to do this in php and I've set up my $_GET variable
functions appropriately so I can sort the data using my php function,
but this happens after the first rendering of the grid. How do I pass
some get variables into the jqGrid for its first display?
I'm sorry if I'm not very clear, as I mentioned I'm new to this, maybe
someone can help and ask questions if needed?