Custom Sort Order for Group Descriptors in JumpLists

7 posts, 0 answers
  1. wildbohr
    wildbohr avatar
    9 posts
    Member since:
    Jun 2011

    Posted 11 Mar 2012 Link to this post

    Is there any way to custom sort the the GroupDescriptors of a RadJumpList?

    My example is if I am grouping by time of day, currently using non-military time doesn't get reflected properly.

    1:00pm
    10:00am
    11:00am
    12:00pm

    I haven't been able to find a satisfactory fix, I've gone to using military time in the meantime.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 13 Mar 2012 Link to this post

    Hi John,

    Thank you for contacting us. Is it possible for you to send us a simple project reproducing the issue? This way we will be better able to assist you. Thank you for your cooperation and understanding.

    Regards,
    Kiril Stanoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. wildbohr
    wildbohr avatar
    9 posts
    Member since:
    Jun 2011

    Posted 13 Mar 2012 Link to this post

    I'll try to get something put together tomorrow. Should I just post the sample project here or message it directly to you?
  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 14 Mar 2012 Link to this post

    Hi John,

    You will need to open a new support ticket in order to be able to attach your files.

    Thanks for your time.

    Greetings,
    Deyan
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. wildbohr
    wildbohr avatar
    9 posts
    Member since:
    Jun 2011

    Posted 14 Mar 2012 Link to this post

    Submitting Ticket.
  7. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 15 Mar 2012 Link to this post

    Hi John,

    Please refer to the support ticket you have opened regarding the same topic.

    In short: the reason for not getting the groups sorted as expected is that you're sorting strings representing date-time values, not instances of the DateTime struct. Strings are sorted alphabetically whereas DateTime structs are sorted as integers.

    Kind regards,
    Deyan
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  8. wildbohr
    wildbohr avatar
    9 posts
    Member since:
    Jun 2011

    Posted 15 Mar 2012 Link to this post

    That was my problem :), after also adding GroupFormatString=" {0:t} " I now have my desired result! Thanks!
Back to Top
DevCraft banner