New to KendoReactStart a free 30-day trial

Show placeholder in the KendoReact Grid filter components

Environment

Product Version5.12.0
ProductProgress® KendoReact Grid

Description

How can I add "Search" text in the Grid filters when they are empty?

Solution

For setting a placeholder text for the built-in Grid filters a combination of using PropsContext (for the DatePicker and the NumericTextBox) for changing the "placeholder" property and pure JavaScript for setting the "placeholder" attribute for simple inputs can be used.

Following is an example demonstrating how to set a placeholder for NumericTextBox, DatePicker and simple inputs for the filter components in the Grid:

Change Theme
Theme
Loading ...
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support