Cmmand column filter template

2 posts, 0 answers
  1. Ján
    Ján avatar
    18 posts
    Member since:
    Jun 2017

    Posted 04 Aug 2017 Link to this post

    Hello,
    we use Kendo UI for Angular 2 grid with command column. IWe have defined a kendoGridFilterCellTemplate for the command column as in case when filter is shown we want there to have a special command button for some additional action (reseting alll filters with one click). I seems however that this template has no effect as its content is never shown for command column.
  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1297 posts

    Posted 08 Aug 2017 Link to this post

    Hi Ján,

    The filter template can be applied to bound columns only, to enable the developer to provide a custom UI for entering a filter value that will be used to filter the data the Grid is bound to by the respective field the discussed column is bound to.

    That said, providing an opportunity to use custom template for the filter row cell of the columns that are not bound, seems like a feasible candidate for a feature request. Please submit the idea to our UserVoice portal:

    http://kendoui-feedback.telerik.com/forums/555517-kendo-ui-for-angular-feedback/category/181393-grid

    ... so we can track it, and consider it for a future enhancement of the Grid package, if it gains enough popularity. Thank you in advance.

    Meanwhile, you can access and manipulate the filter row cell of the Command column programmatically, to achieve the desired functionality, e.g.:

    http://plnkr.co/edit/jLvvUyRv3Cdul8vv41Vm?p=preview

    I hope this helps.

    Regards,
    Dimiter Topalov
    Progress Telerik
    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