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

How to have place holder text for column level filter

4 Answers 692 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mukesh
Top achievements
Rank 1
Mukesh asked on 07 Aug 2019, 02:35 PM
     Can you please let me know how can we have place holder for column level filter in react kendo grid.

4 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Aug 2019, 07:40 AM
Hello, Mukesh,

Setting additional props to the filters requires using the filterCell prop:

https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnProps/#toc-filtercell

Then the desired component used for filtering has to receive the desired placeholder prop:

https://stackblitz.com/edit/react-uw2qro?file=app/rangeFilterCell.jsx

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mukesh
Top achievements
Rank 1
answered on 08 Aug 2019, 09:53 AM

I don't want to create that custom component, i just want to display place holder for filter.

Please find the screen shot. Can i achieve this by simple configuration option.

0
Mukesh
Top achievements
Rank 1
answered on 09 Aug 2019, 08:10 AM
Can you let me know if there is any configuration or simple change available for this.  don't want to create component for each filter column
0
Vladimir Iliev
Telerik team
answered on 12 Aug 2019, 08:18 AM
Hello Mukesh,

Currently there is no build-in way to set the `placeholder` option of the nested inputs, however our dev team is already planning to modify the Grid filters to allow easier configuration of nested components. For updates on the matter I would suggest to follow our Road Map.

Regards,
Vladimir Iliev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mukesh
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Mukesh
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or