This is a migrated thread and some comments may be shown as answers.

Filter grid with inverted boolean

1 Answer 136 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Mohammed asked on 22 Mar 2015, 12:47 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 23 Mar 2015, 09:32 AM
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.

 
Tags
GridView
Asked by
Mohammed
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or