Reorder rows in client-side

4 posts, 0 answers
  1. Dao Ngoc
    Dao Ngoc avatar
    2 posts
    Member since:
    May 2016

    Posted 24 Jun Link to this post

    Hi,

    I want reorder rows in javascipt, move some rows up to first. I don't want to use Drag and Drop row.

    Ideally, I have some sort expression and I want to to move some rows which contain value in expression up to first.

    Is it possible to do this in javascript ?

    Many thanks,

    Quang Anh

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Jun Link to this post

    Hello,

    The required functionality is only possible with the drag and drop mechanism provided by the RadGrid control and can not be achieved entirely on the client. See the online demo below for more information on that matter:
    http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/drag-and-drop/defaultcs.aspx

    Regards,
    Maria Ilieva
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dao Ngoc
    Dao Ngoc avatar
    2 posts
    Member since:
    May 2016

    Posted 01 Jul Link to this post

    Hi Maria,

    I knew about drag and drop function. But I want to do it by javascript.

    Ideally, I have some dropdownbox controls, after selected criteria in these dropdownbox controls I want to move rows that have value equal with search criteria to top of gridview.

    Is it possible with javascript ?

    Many thanks,

    Quang Anh
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 05 Jul Link to this post

    Hi,

    Unfortunately the client-side API does not allow achieving the required functionality entirely on the client. You should use the drag and drop feature for this scenario.

    Regards,
    Maria Ilieva
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top