Hai
If I try to use the http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16227.
Here every time I insert a new row all the row state will become as Modified as the Column value has been changed after the insert.
I got an example using Wrapper Classes which will solve the problem but it was said tht the latest version of 2.5.0.1 has to be taken to make use the Collection Classes.
From ver can I get the latest version .
>I really do not have a good solution for this. The framework just does not support moving rows in a datatable.
>
>You can delete easily enough. But a DataTable only adds rows at the bottom of the table. I do not know of a way to actually move the row in the DataTable so it remains where you want it. You can fake it out by constantly calling AcceptChanges on the DataTable, but when the defaultview gets reset for any reason, the row will get placed back where it really is, and that is at the bottom of the table.
>
>
Here is another approach that uses a GridDataBoundGrid in a virtual manner bound to a DataTable. By using teh virtual event Model.QueryCellInfo, you can let the grid maintain where a row is displayed. SO, you can make a row look like it is inserted at some spot event though it is really at teh bottom of teh DataTable. Here is a sample showing how you might do this. The sample only works with unsorted DataTables. This technique might possibily work with sorted dataviews but it would be complicated. If you want to manage sorted views and appear to insert rows at certain position, then I think you will have to use a technique that adds a column to your datatable that tracks where teh row should be. Here is a thread that discusses this with a sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16227
>
>