CheckList Filtering with GridDropDownColumn not filtering on bound data field.

2 posts, 0 answers
  1. Sal
    Sal avatar
    2 posts
    Member since:
    Jun 2012

    Posted 18 Jan 2017 Link to this post

    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?

  2. Eyup
    Admin
    Eyup avatar
    3841 posts

    Posted 23 Jan 2017 Link to this post

    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.
Back to Top