Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
How to disable UltraGrid sorting temporarily?
posted

Hi

I am using UltraWinGrid in Infragistics NetAdvantage 7.1 and have a small issue with column sorting.

I have a grid and i allow sorting of all columns.
Let's say i have 5 rows of data and i am sorting by column 1.
If i go to the row 5, column 1, and edit the value there, and once i tab out,
it automatically sort the rows and put the active row, say to the 3rd position.

1) Is there a way to temporarily disable the automatic sorting so that user can focus on edit a specific row and not distracted by this automatic sort?

2) There is a BeforeSortChange event, which got fired after user click on the column header to sort.  Is there any event like BeforeSorting  ???   In other words, if i can capture the events of the editing scenario above, then i can just mark the event as handled.

Please advise.  Thanx.