Scroll to selected item in group in RadGridView

0 Answers 80 Views
GridView
alex
Top achievements
Rank 2
Bronze
Iron
Iron
alex asked on 14 Jun 2023, 07:58 PM

Hello,

I created an attached property that scrolls into the selected item when the SelectedItem changed (using the public method of the RadGridView).

This behavior was added because the selected item may be changed from other view. The RadGridView multi selection is enabled.

I noticed that during grouping, the scrolling into the selected item works, but the row might be collpased when the group IsExpanded property is false.

There is an easy way to expand the group?

I want to detect the group by O(1) and then update the IsExpanded property to True.

I am wondering what will happend if there are many groups? should I expand all of them or only the last one ?

I will be glad to know the easiest way for this.

* The performance is extremelly important so we should take into consideration that maybe the user selects a lot of items (let's say 250 out of 10000) so the SelectedItem will change a lot.

alex
Top achievements
Rank 2
Bronze
Iron
Iron
commented on 21 Jun 2023, 04:47 PM

Any update about this ??

No answers yet. Maybe you can help?

Tags
GridView
Asked by
alex
Top achievements
Rank 2
Bronze
Iron
Iron
Share this question
or