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

CheckList Filtering with GridDropDownColumn not filtering on bound data field.

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sal
Top achievements
Rank 1
Sal asked on 18 Jan 2017, 08:48 PM

I have a grid (version 2015.3.1111.45, no option to upgrade) that is bound to a List of custom objects.

Then I have a GridDropDownColumn that is bound to a field that is a decimal.

When I try to use the "HeaderContext" Filter Type and populate the checklist with a web service that returns both the text and the decimal value for that field, the grid will only try to filter on the text that comes from the checklist and not the "ID" value. 

The only place I am even able to see what is getting set for the filter is by checking inside the Need Data Source event for the prop [grid].MasterTableView.FilterExpression.

 

Does anyone have any thoughts?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 23 Jan 2017, 11:53 AM
Hi Sal,

You said that you are using numeric data of type Decimal. In the old versions of the control, there was a particular issue with several types of columns:
https://feedback.telerik.com/Project/108/Feedback/Details/171656-object-reference-exception-is-thrown-when-filtertype-is-set-to-headercontext-and

Our dev team constantly is addressing issues and releases new version of the controls to ensure that our customers have a smooth experience using their functionality. Therefore, I suggest that you test your project with the latest version of the toolset, to verify whether the issue is fixed.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Sal
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or