Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
TemplateDataField filter support in v10
posted

Hello,

Is there any way to add filtering to the TemplateDataField in v10 of the WebDataGrid?

thanks

  • 33839
    Verified Answer
    posted

    Hi sdcox451,

    When a datagrid has a TemplateDataField, that column is not actually bound to any data.  You might be adding eval statements to show data in the cells, but the cells don't have a value the same as a BoundDataField.  So, there would be no way for the grid to filter on that column. 

    What you could try to do is add another hidden column that shows the data that you want to filter by and add filter conditions on that column.  You would also probably need to have a custom filtering UI on your tempalte column.

    regards,
    David Young