Dear,
I implemented some drag&drop functionality with two GridViews.
Now when I drag one row to the other GridView, it should automatically sort the GridView based on a default column.
I've added a sort expression programmatically at the beginning of my program:
Inserting a row (drag&drop):
Is there some extra code needed in an event when adding this row? Because now it's added at the bottom of the GridView.
Thanks in advance!
I implemented some drag&drop functionality with two GridViews.
Now when I drag one row to the other GridView, it should automatically sort the GridView based on a default column.
I've added a sort expression programmatically at the beginning of my program:
gridAssigned.MasterGridViewTemplate.SortExpressions.Add( "Order" ); |
Inserting a row (drag&drop):
object[] values = new object[ 10 ]; |
[...] |
gridAssigned.Rows.Add( values ); |
Is there some extra code needed in an event when adding this row? Because now it's added at the bottom of the GridView.
Thanks in advance!