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

Validation Message Position to wrong control

3 Answers 240 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Marx
Top achievements
Rank 1
Scott Marx asked on 04 Oct 2013, 01:20 AM
I am using inline editing with no custom validation, as shown below. When I submit update the validation message are positioned one control to the right, as shown in attached image.

How do I get the validation message to position under the correct control?

schema: {
model: {
id: "RSLenderLoanProgramID",
fields: {
LenderProgramName: { validation: { required: true} },
PDFProgramName: { validation: { required: true} },
LockPeriods: { type: "number", validation: { required: true, min: 1, max: 4} },
Lock1: { type: "number", validation: { min: 7, max: 90, required: true} },
Lock2: { type: "number", validation: { min: 7, max: 90, required: false} },
Lock3: { type: "number", validation: { min: 7, max: 90, required: false} },
Lock4: { type: "number", validation: { min: 7, max: 90, required: false} },
RSLenderLoanProgramID: { editable: false, nullable: true }
}
}
}

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 07 Oct 2013, 11:58 AM
Hello Scott,

From the provided picture it appears this behaviour is observed when the column is narrow, which is a known issue and we are working on it. Meanwhile as a possible workaround I can suggest adjusting the position of .k-callout-n element via CSS. For example: 
.k-grid .k-callout-n {
    left: auto;
}

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
cra
Top achievements
Rank 1
answered on 21 Jan 2016, 10:14 PM

Hello,

 

I am having this same issue. I see this thread is from back in 2013. Was there ever an official solution for this? I would prefer to not position the tooltip caret to the left because it then looks odd for the other fields in the grid.

0
Iliana Dyankova
Telerik team
answered on 25 Jan 2016, 04:17 PM
Hello Christopher,

Please check the following forum thread which discusses the same case and contains a solution: 

http://www.telerik.com/forums/custom-validation-message-shows-up-on-the-wrong-column#qZfnECMgCEKJlaI-cjNRvQ

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Scott Marx
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
cra
Top achievements
Rank 1
Share this question
or