Is there a way to build a GridState from server-side code?
We want to be able to set up the grid in a specific based on certain filters that are in a database. As far as I can tell the only way I could do that now is to look at how the structure of the JSON object is formed and create my own JSON object Grid State constructor based on that. But I don't like that idea because the structure could change with time, or there might be small things that I miss.
I'm looking for something along the lines of this:
GridState gs = new GridState();
gs.addFilter("columnName","filterText", columnWidth, showColumn, ..., .., )
Does anything like this exist?