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

Validation Reject Window

1 Answer 9 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 13 Feb 2017, 10:16 AM

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.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 15 Feb 2017, 10:04 AM
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.
Tags
Spreadsheet
Asked by
Marc
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or