Welcome Guest Search | Active Topics | Sign In | Register

Is this possible to reorder grid column dynamically? Options
Alvin Sinha
Posted: Tuesday, June 9, 2009 10:42:22 AM
Rank: Member
Groups: Member

Joined: 2/24/2009
Posts: 16
Hi,

I am trying to set grid column order dynamically. We have functionlity where user can select display columns and there order. And based on user selection grid should populated with selected cloumn and in same order. Any help will be higly appreciated.

Thanks,
Alvin
eo_support
Posted: Tuesday, June 9, 2009 10:48:02 AM
Rank: Administration
Groups: Administration

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

What you want has nothing to do with column reordering. You need to dynamically create Grid columns based on user selection. You would do so by clearing the Grid's Columns collection first, then create whatever columns and then add it to the Grid's Columns collection. Once you are done with that, you then populate the Grid from your data source.

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.