Unable to validate the grid in Kendo UI

0 Answers 15 Views
Grid
Vaibhav
Top achievements
Rank 1
Vaibhav asked on 24 May 2021, 06:59 PM | edited on 24 May 2021, 07:00 PM

HI All,

I have a grid in which each row consists of some dropdown lists and text boxes. 

Users can edit each of the rows independently. 

Is there a way to validate the grid even when the user has not clicked on the edit button corresponding to the row? I do not want user to navigate to the next page until all of the data are not corrected on the page. 

 

Nikolay
Telerik team
commented on 27 May 2021, 11:18 AM

Hi Vaibhav,

I have some clarifying questions. I need to fully understand the case so I can advise accordingly.

Is the Grid set for an inline ending?

Do you need to validate the currently edited row? Even before hitting the Update?

I general, the validation Grid  mechanism is the following:

 - The user clicks on the edit button. No validation is triggered as nothing is changed yet.

- The user enters a cell and makes changes. Once they try to move the focus to another cell the validation is triggered. If it is passed the focus is moved successfully, if it is not a validation tooltip is displayed. 

This can be examined at the following demo:

https://demos.telerik.com/kendo-ui/grid/editing-inline

Let me know if you have any questions.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Vaibhav
Top achievements
Rank 1
Share this question
or