Validation Reject Window

2 posts, 0 answers
  1. Marc
    Marc avatar
    171 posts
    Member since:
    Sep 2016

    Posted 13 Feb 2017 Link to this post

    Hi, I'm using a spreadsheet inside a kendo window. We have some columns with validation on them (type is set to 'reject'). So when the user tries to type something into this column, we get the reject window, however, its z-index is behind the Window the user is using. Is there a way to differentiate this reject window (we have 15 kendo windows) on the screen already?

    Spreadsheet is attached, to show the reject window appearing partially behind the current window.

  2. Nencho
    Admin
    Nencho avatar
    1871 posts

    Posted 15 Feb 2017 Link to this post

    Hello Marc,

    Marc, I have replicate the described issue and I have forwarded it to our developer team for further consideration. As a workaround, I would suggest you to handle the Spreadsheet content click and verify whether an Error message window is shown. If it is - you can call the toFrom method on it:

    $("#myWindow").on("click", function(e){
          
       if( $(".k-spreadsheet-message").length > 0)
        $(".k-spreadsheet-message").data("kendoWindow").toFront();
          
       })

    In the above example, myWindow is the id of the container of the Spreadsheet.
    In addition, here is a dojo example, demonstrating the above suggestion:

    http://dojo.telerik.com/oSEmE/8


    Regards,
    Nencho
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 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