This is a migrated thread and some comments may be shown as answers.

Server side reordering

4 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 27 Sep 2010, 10:08 PM
Is this possible?  I see the grid has a oncolumnsreorder event but I'm having trouble getting it to fire.  I can't find any documentation on it either.  My columns have reorderable set to true.  They are auto generated columns though.

4 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 29 Sep 2010, 03:31 PM
Hi Jay,

You can enable server-side columns reordering either in the VS designer throug the RadGrid Smart Tag. Or by setting the below property in the grid ClientSettings tag:

<ClientSettings ReorderColumnsOnClient="false">
</ClientSettings>


Kind regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
-DJ-
Top achievements
Rank 1
answered on 25 Mar 2011, 12:54 PM
This property doesn't seem to work at all.
After setting:

<ClientSettings ReorderColumnsOnClient="false" AllowColumnsReorder="True"></ClientSettings>

the columns are still reordered on the client.

Any thoughts?

-DJ-
0
Iana Tsolova
Telerik team
answered on 25 Mar 2011, 03:21 PM
Hello,

The described behavior is not expected. Furthermore I can see that when the ReorderColumnsOnClient property is set to false in this demo, the columns are reordered on the server.
Can you check it out and let us know what differs in your scenario?

All the best,
Iana
the Telerik team
0
-DJ-
Top achievements
Rank 1
answered on 25 Mar 2011, 03:51 PM
I spoke too early Iana, I had conflicting settings in the page and the codebehind.
It works perfectly.

Thanks,
-DJ-
Tags
Grid
Asked by
Jay
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
-DJ-
Top achievements
Rank 1
Share this question
or