Filter grid with inverted boolean

2 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    9 posts
    Member since:
    Jul 2014

    Posted 22 Mar 2015 Link to this post

    I have gridView with checkbox column(IsActive) that binded to bool property(IsDeleted) and converter that show the inverted value  . When I try to show all active items ,it show inactive items and opposite .
    When I check (IsActive=true)  ,  FilterDescriptors show (IsDeleted=true) and that is wrong it should be inverted
    When I uncheck (IsActive=false)  ,  FilterDescriptors show (IsDeleted=false) and that is wrong it should be inverted too

    So how can I handle it !?



    Regards,
    Mohammed Thabet
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 23 Mar 2015 Link to this post

    Hi Mohammed,

    Filtering will be done based on the DataMemberBinding specified for the column. Alternatively, you can set a FilterMemberPath so that the column to be filtered on another property of the bound business object. Please check our online documentation where the filtering is explained in details.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top