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

how to alert message in grid

1 Answer 766 Views
Grid
This is a migrated thread and some comments may be shown as answers.
YE
Top achievements
Rank 1
YE asked on 14 Nov 2017, 08:12 AM

HI
      I'm trying to use kendo UI,I have a problem,i try to new or update a line in the grid,but some fields are not repeated,I verify it on the server,If repeat,create or update fail,how to stop cteate or update,and display a warn message in the kendo ui -grid?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 15 Nov 2017, 04:09 PM
Hi,

For handling such errors you need to return the error message in the response as documented in the following help topic:
Note that the "error" event of the dataSource could be then used for notifying the user for the error.

Hope this helps.


Regards,
Konstantin Dikov
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
YE
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or