This is a migrated thread and some comments may be shown as answers.

Validation tooltip does not appear with kendonumerictextbox as custom editor

2 Answers 466 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 25 Apr 2014, 11:59 PM
Hello Telerik Team , 

We have an issue with the validation tooltip. We could reproduce the behavior in your dojo:
http://trykendoui.telerik.com/EjoN

To reproduce the error just erase a value in the price column, and change the focus to another field, the tooltip looks like is behind the next row.

What is the best way to achieve this?

Thank you in advance, 

Regards!



2 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 29 Apr 2014, 08:51 AM
Hi Luis,

When using widgets such as NumericTextBox, Combobox etc. you should set position for the validation messages via custom placeholder (documentation link). For example: 
function customPrice(container, options){
  $('<input name="UnitPrice" required data-bind="value:' + options.field + '"/>')
  .appendTo(container).kendoNumericTextBox({
      format: "c",
      decimals: 2,
      spinners: false
   })
   $('<span class="k-invalid-msg" data-for="UnitPrice"></span>').appendTo(container);
}

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Luis
Top achievements
Rank 1
answered on 08 May 2014, 11:25 PM
Thank you Iliana!
Regards
Tags
Grid
Asked by
Luis
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Luis
Top achievements
Rank 1
Share this question
or