This is a migrated thread and some comments may be shown as answers.
Cmmand column filter template
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Ján
Top achievements
Rank 1
Ján asked on 04 Aug 2017, 04:03 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 08 Aug 2017, 12:13 PM
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.
Tags
Grid
Asked by
Ján
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or