Refresh Grouping w/o calling RefreshData

3 posts, 0 answers
  1. Brian
    Brian avatar
    4 posts
    Member since:
    Mar 2011

    Posted 30 Dec 2011 Link to this post

    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. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 03 Jan 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Brian
    Brian avatar
    4 posts
    Member since:
    Mar 2011

    Posted 03 Jan 2012 Link to this post

    Hi Deyan,

    That does indeed work. Thank you!

    Brian
Back to Top