4 Answers, 1 is accepted
0
Michael
Top achievements
Rank 1
answered on 19 Feb 2015, 10:15 AM
I should add, I achieved what I wanted with the following code but I was looking for a "cleaner" built in property to set on the grid if it exists?
var
today =
new
Date();
$(
"[data-text-field=formatted_dob]"
).attr(
"placeholder"
, moment(today).format(
"DD MMM YYYY"
));
0
Accepted
Hello Michael,
There is no built-in way to achieve this. And what you do is using a standard jQuery method, so I am not really sure why you are considering it "dirty"?
Regards,Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Vidya
Top achievements
Rank 1
answered on 08 Jun 2016, 07:26 PM
Hi,
I'm looking for the same thing to add a placeholder for all the filter text boxes in the grid. For date columns the filter text box should show the date format like mm\dd\yyyy. How to achieve this for all columns in the grid?
0
Hello Vidya,
As the question differs from the original topic - can you please open a separate support request and we will be happy to help.
Regards,
Kiril Nikolov
Telerik
As the question differs from the original topic - can you please open a separate support request and we will be happy to help.
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!