Problem with AutogeneratedColumns and Filtermenu column

3 posts, 0 answers
  1. Cherie
    Cherie avatar
    2 posts
    Member since:
    May 2016

    Posted 02 May 2016 Link to this post

    I have a radgrid that I am building and I'm using autogeneratedcolumns= true because the datasource resultset has pivoted/dynamic columns. The datatype in the pivoted columns is BIT(so I want checkboxes to show for those columns).

    When I set AllowFilteringByColumn=true, I get checkbox filtering menus at the top of each column, when I check it, it filters out all rows that aren't checked in the resultset... When I uncheck it, all of the results come back, but none of the checkboxes that were checked are checked. It seems that unclearing a "checkbox filter" only unchecks all checkboxes after all rows are shown again, but there is no recheck of the boxes that were checked. (I've attached my code).... is this the way this is supposed to behave?

    Also, filtering seems to only work sometimes.... When I look for "checked only" sometimes, the results are incorrect. 


    I've attached screenshots and code within same docx file.

  2. Cherie
    Cherie avatar
    2 posts
    Member since:
    May 2016

    Posted 02 May 2016 in reply to Cherie Link to this post

    Oh and sorry the order of the attachments is upside down... please click going from bottom to top when viewing attachments.
  3. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 05 May 2016 Link to this post

    Hello Renee,

    I see in the attached screenshots that the items that were checked initially are not displayed when you uncheck the checkbox in the header, which is the expected behavior, because you are applying a filter to display the "unchecked" values only. In order to display back all items you need to use the filter icon and choose the "NoFilter" option.

    Hope this helps.

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