how to sort telerik radfilters in order while grid binding

4 posts, 0 answers
  1. Malla reddy
    Malla reddy avatar
    5 posts
    Member since:
    Aug 2017

    Posted 16 Aug 2017 Link to this post

    My current scenario is same as like here
    Filter - Rad Grid filtering with Rad-filter 

    https://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=filter

    If we go through this link, here columns are not alphabetical(ORDER-ID first and last FREIGHT)
    grid should be the same way as UN-Ordered/written, but when adding expression/group, filters should be alphabetical order(freight should come first)
    trying to load filters alphabetical order while loading grid at page load

  2. Malla reddy
    Malla reddy avatar
    5 posts
    Member since:
    Aug 2017

    Posted 17 Aug 2017 Link to this post

    does telerik have this property to order only in filters
  3. Malla reddy
    Malla reddy avatar
    5 posts
    Member since:
    Aug 2017

    Posted 17 Aug 2017 Link to this post

    ticket number: 1125832

     

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4889 posts

    Posted 21 Aug 2017 Link to this post

    Hi Malla,

    In this scenario, RadFilter takes initially the columns as defined in the grid. So, to order the filter options alphabetically in the filter, the grid columns are to be ordered: http://www.telerik.com/forums/sort-the-field-list.

    If you would like to see such a feature in the control, I suggest you add it to the Feedback portal: https://feedback.telerik.com/project/108/Feedback/List/Feature%20Request. This will let you provide a specification and how it should be exposed for configuration, then the community can cast their votes and comment, and that will allow our management to prioritize such a task.

    Perhaps you could reorder the filter menu options in the client-side showing event or in the server-side PreRender event, but I cannot guarantee this is possible and it is not a supported scenario for the control.

    Regards,

    Marin Bratanov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top