TreeListBox- cancel out of and show progress for long running filter operation

Grids for WPF Forum

Posted 4 years ago by Bill L
Version: 20.1.1
Avatar

Hey,

When we have a long running filter operation that can occur when filtering 50K+ items, what is the recommended best practice to cancel the filter operation and to show filter progress as it enumerates possibly all items?  Is there any event that indicates when a filter operation has started and ended?  These long running operations cause the UI to completely freeze until the filtering operation has completed.  Is there a recommended way to prevent this UI freeze such as when or where to "IsFilterActive" that kicks off the Filter operation?  We use a custom PredicateFilter that is set prior to setting

TreeListView.IsFilterActive

It appears the only property available is TreeListBox.IsFilterActive.  

Best regards,

Bill

Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Bill,

Unfortunately the way it is now, the filtering process will occur in the main UI thread, so there isn't a way to cancel it while it executes.  I don't see that any events occur when the filtering process starts/ends either.  We've created a suggestion issue based on your feedback.


Actipro Software Support

The latest build of this product (v24.1.3) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.