Mat
Mat

Reputation: 1688

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.

Upvotes: 5

Views: 5141

Answers (1)

sasheto
sasheto

Reputation: 541

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

Upvotes: 5

Related Questions