Two grids on same page using one grid "excel like filter"

2 posts, 0 answers
  1. steve
    steve avatar
    5 posts
    Member since:
    Apr 2016

    Posted 18 Oct Link to this post

    Is it possible to have two grids on the same page that are synced to use the first gids header menus? I am trying to use the "excel like filtering" but I am having issues with refreshing both grids from one header.
  2. Kostadin
    Admin
    Kostadin avatar
    1711 posts

    Posted 21 Oct Link to this post

    Hi Steve,

    A possible solution is to apply the same filter to the second grid after the first one is filtered. For this purpose you need to hook OnItemCommand event handler and when the command is filtering to get the filter expression and apply it to the second one. You can access the filter expression by using RadGrid1.MasterTableView.FilterExpression. Keep in mind you need to Rebind the grid after setting the filter expression in order the changes to be applied.

    Regards,
    Kostadin
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top