This is a migrated thread and some comments may be shown as answers.

How to defer filtering/sorting at row insert

0 Answers 60 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 22 Apr 2020, 01:02 PM

Hello,

we need to be able to add a new row into the TreeView and immediately see it, even when column filters or sorts are applied (so that a user does not have to scroll around searching for it or to disable filters in order to see the new row at all).

We could clear the filters/sorts before the insert, but we do not want to lose these settings and we do not want to change the displayed rows. The new row can be later, after the cells are filled, filtered/sorted according to the current settings, but just not in the moment of insert/first data entry.

How could we achieve this using TreeView? Note: we use "GridViewNewRowPosition.None", the row is inserted programmatically beside the currently selected one.

Thanks.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Robert
Top achievements
Rank 1
Share this question
or