Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Reverse Binding of DataGrid
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Robert Roney via .NET 247, post: 4262259"] I've created a DataGrid full of template columns to allow my userto simultaneously edit any of the rows. Everything functionsfine, until I try to save the data. The issue involved is thatthe DataGrid is based on a Sorted DataView. If the field Iupdate in the DataGrid was part of the sort, the DataViewupdates it's index/sort immediately after each record, thus whenthe record following is reached, the dataview sequence no longermatches the grid sequence. Is there a way of disabling thisre-sorting until I've rebound all the datagrid to thedataview/dataset? i.e. 1 a, 2 b, 3 c... If the grid is sorted by letters and you change the 'b' to a 'd',everything saves back fine until you reach the 3rd record. Atthis poing the dataview sequence is 1 a, 3 c, 2 d while thegrid holds 1 a, 2 d, 3 c I've tried a number of things but have had no luck to date. Anyhelp is appreciated [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
Reverse Binding of DataGrid
Top