Delay Sorting until Editing is Finished (row focus is lost) [message #63541] |
Tue, 12 May 2009 14:42 |
kent gibson Messages: 114 Registered: July 2009 |
Senior Member |
|
|
I have a GridTreeViewer which is sorted.
If the user changes the values of one of the cells in one of the columns
which are used for sorting the sort order can change. In other words the
user changes something and then the table reacts and changes the order of
the rows.
What would be a good way to delay this sort until the row is no longer
selected or loses focus?
I have tried various approaches without success, for example working with
ColumnViewerEditorActivationEvent and ISelectionChangedListener.
I think the problem I am having is that I am never getting a clear event
when a row loses focus. How do you find out when a row loses focus?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03495 seconds