how to alert message in grid

2 posts, 0 answers
  1. YE
    YE avatar
    1 posts
    Member since:
    Oct 2017

    Posted 14 Nov 2017 Link to this post

    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?

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 15 Nov 2017 Link to this post

    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.
Back to Top