Hello,
I'm using the RadDataFilter in unbounded mode. I'm struggling to get this functionality working. The requirement is once the user has filtered on a particular property, then I need to remove it from the list so the user can't filter on the same property again.
I'll give an example. If the employee object got 3 properties (Name, age and dob), the use has selected "age > 30", then age should not appear in the list anymore.
There are only couple of events exposed on RadDataFilter (EditorCreated and FilterOperatorsLoading). I tried to do something like this in the EditorCreated event handler
I kind of reached a brick wall, can you please confirm whether its possible to implement this.
Regards,
Saravana
I'm using the RadDataFilter in unbounded mode. I'm struggling to get this functionality working. The requirement is once the user has filtered on a particular property, then I need to remove it from the list so the user can't filter on the same property again.
I'll give an example. If the employee object got 3 properties (Name, age and dob), the use has selected "age > 30", then age should not appear in the list anymore.
There are only couple of events exposed on RadDataFilter (EditorCreated and FilterOperatorsLoading). I tried to do something like this in the EditorCreated event handler
this.radDataFilter.ItemPropertyDefinitions.Clear();but the "Clear()" method on ItempPropertyDefinitions throws an HRESULT COM exception.
foreach (var item in AvailableProperties)
{
this.radDataFilter.ItemPropertyDefinitions.Add(new ItemPropertyDefinition(item));
}
I kind of reached a brick wall, can you please confirm whether its possible to implement this.
Regards,
Saravana