Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kendo DropDownList validation in Grid

I'm revisiting an issue I raised on the Kendo forums (which are now read only). Here's the original thread.

The solution proposed by Jon suggests:

If you pull out the validation message out of the span, it will show up (use jQuery to append it to the parent element).

I've got the validation working - I just can't get the validation message to display (at least where it's visible). I'm not sure what to append where.

Any advice is much appreciated.

like image 582
Mat Avatar asked Oct 06 '22 01:10

Mat


1 Answers

You should append the validation tooltip element <span class="k-invalid-msg" data-for="name"></span> to the editor container. Where "name" corresponds to the name of your editor input.

Docs: columns.editor

like image 123
sasheto Avatar answered Oct 10 '22 02:10

sasheto