I have a custom template and I am trying to have a validation for that template.
Dojo is here. http://dojo.telerik.com/@balaji/aMoBA
I have a validation on the Price column (required:true).
But when I delete the Price value from cell and tab out, am not able to see the nice little tooltip provided by kendo. am I missing something?
5 Answers, 1 is accepted
Note that when setting required validation for filed in the DataSource the validation will fire in case you are using the built in editing mechanism of the Grid. In your case when Template with input is used you should set the input itself to be required like this:
Did you give me a wrong link? I don't see an option for editing in that grid.
Thanks for your reply. I want to have min,max validation. I tried to edit the sample example by having the constraints for min and max. It did not work. Also I would like to have a custom function which will do some validation and display the tooltip. The link you provided did not display the tooltip message.
I have updated the example http://dojo.telerik.com/UKIKA with a function for validation (inside the validation attribute) and min,max attributes . Can you tell me what I am doing wrong here?
Note that the input type should be set to "number" in order to be able to set max and min validation:
As for the tooltip functionality this is not supported out of the box and you can manually handle the input blur event and show the required custom tooltip.