All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hello Vidya,
In order to customize the filter input element a template should be used. I assume that you are using filter row mode. If so the columns.filterable.cell.template should be used. Otherwise the columns.filterable.cell.template function should be used.
The ultimate goal is user to be able to define the input element and set its placeholder option.
Hi,
Can you post some example of setting placeholder in MVC grid.
Thanks
Please refer to the code snippets below:
columns.Bound(p => p.OrderDate).Format(
"{0:MM/dd/yyyy}"
).Filterable(ftb => ftb.Cell(cell => cell.Template(
"customDatePicker"
)));
function
customDatePicker(args) {
args.element.attr(
"placeholder"
,
"mmddyyyy"
);
args.element.kendoDatePicker();
}