Welcome Guest Search | Active Topics | Sign In | Register

Trigger Sort-Event on gridload Options
blob
Posted: Monday, January 17, 2011 9:54:42 AM
Rank: Newbie
Groups: Member

Joined: 11/30/2010
Posts: 6
Hello,

i have a question about your fine grid. I am working on a grid customisation.
If the user customizes the grid, he can save all his changes in his config.xml
This works fine with gridwidth/heigth, columnsize, the only problem is sorting by column.
Im able to save the column, grid is sorted by, and how this column is sorted...
But i cant apply this sorting-information to the grid when i load the page next time.

In the case of this grid, i have to fill it item by item and have no data-table to sort.

What i need to do:
1:Fill the grid with data
2:Sort this grid(clientside mode) after it loaded

What im searching for: Somthing like: SortNow(ColName, Descending)

Thanks for your help,
with kind regards, blob
eo_support
Posted: Monday, January 17, 2011 9:58:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Unfortunately I don't believe you can do that. The client side Grid object does not expose a sort function. So there is no way for you to apply sort order programmatically on the client side. The only work around is to pre-sort the data on the server side. Sorry about it!

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.