We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Moving rows ?

Hi, How can i move rows in a data bound grid (bound to a DataSource) ? I have tried Model.Data.MoveRows without any luck. It is porbably because Model.Data is empty when grid is bound to a DataSource. thanks

2 Replies

AD Administrator Syncfusion Team June 20, 2005 08:46 AM UTC

You realy cannot ''move'' rows in GridDataBoundGrid. The reason is the grid only displays what is in your datasource. So, you would have to move the rows in your datasource. You can display a sorted view on the data. So, you can use a sorted view to control the display order in a GridDataBoundGrid. Here is a KB link on this. http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=98


AD Administrator Syncfusion Team June 20, 2005 06:18 PM UTC

Addding a hidden column is a bit extra work. i guess removing row(s) from underlying Datasource is what i am looking for. thanks for your help .

Loader.
Up arrow icon