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

Triggering ValidationMessage on column

1 Answer 9 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 10 Jul 2018, 12:16 PM

As a followup to the question linked below, how would I cause an error message to be displayed on the grid for a dependent column.  In the question from yesterday I was able to see that a row was dirty, but need a particular column (Comments) to be required if the row has been modified.  The question is how would I get the validation message to show up for the Comments field?

 

ColA ColB ColC Comments

 

If A,B,C is modified and the row becomes dirty, I would like the validation message to show up when the user clicks "Save Changes" on the toolbar if the Comments field is empty.

https://www.telerik.com/forums/grid-validation---dependent-on-another-column

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 12 Jul 2018, 05:57 AM
Hello Michael,

You can try using custom validator editing similar to this live sample:
https://demos.telerik.com/kendo-ui/grid/editing-custom-validation

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or