Datagrid sorting and editing

LESLIEXOG

New Member
I have a routing that recalls the binding routing and passes the sort by value which is a string appended onto the order by clause. The sorting works great. The problem is when I call the edit or cancel or update function. Then is has to rebind the data and wants to sort it again. If the data was sorted by a description then I call the edit button it re-sorts by primary key and the wrond row comes up with the edit text boxes. I don't know if I can persist the way it was sorted so that I get the correct row. Is there anyway to keep the data in the same state?
 
Back
Top