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

Refresh Grouping w/o calling RefreshData

2 Answers 46 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 1
Brian asked on 30 Dec 2011, 05:39 PM
Hello,

Is there a way to refresh a RadJumpList so that items appear in their correct groups after an edit or add? In my scenario the user can edit a list item. They can change the item property that I'm grouping on. I'm currently calling RefreshData() after they perform the edit so that the list control rebinds and so that the newly edited item will show up under the correct group header. Calling RefershData() causes the list to "flash" (which is ugly) and the user is taken back to the top of the list.

Is there another technique that I can use? I have tried the Process() method on the GroupDescriptor but that does not refresh the UI.

Thank you,
Brian

2 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 03 Jan 2012, 01:56 PM
Hi Brian,

A possible solution would be to remove the edited item from the source collection and add it again. It will be automatically put in the right group according to the new value of its property.

Let me know if this works for you.

Kind regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Brian
Top achievements
Rank 1
answered on 03 Jan 2012, 03:27 PM
Hi Deyan,

That does indeed work. Thank you!

Brian
Tags
JumpList
Asked by
Brian
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Brian
Top achievements
Rank 1
Share this question
or