This question is locked. New answers and comments are not allowed.
I'm trying to write a generic method to return data for all my grids which is using ajax calls and paging. Problem is I don't see a way to determine which columns the grid actually has, so right now I need to fetch and return all columns.
The orm mapper I'm using, llbl, allows me to load just the columns I need. Since I'm constructing the return json string myself (due to a circular reference exception when serializing llbl objects), I wanted to be able to make the return data smaller and just return those columns that the grid has.
Anyway to do this?
If not, I'd like to request a feature for adding a columns property to the GridCommand object.
The orm mapper I'm using, llbl, allows me to load just the columns I need. Since I'm constructing the return json string myself (due to a circular reference exception when serializing llbl objects), I wanted to be able to make the return data smaller and just return those columns that the grid has.
Anyway to do this?
If not, I'd like to request a feature for adding a columns property to the GridCommand object.