Make Grid Modal within a Window

I have a Modal Window which has 2 components attached,a tabbar and grid attached to a tabbar.When I activate the setModal() property on the Window only the title of the window is becoming modal.However the the tabbar and the grid attached is still active.How do I deactivate the grid within a window??




If tabbar with grid is attached to some window from some windows collection and another window from this collection is assigned as “modal”, the tabbar and grid become disabled as well as their window.


But if tabbar is part of the active window (which is assigned as modal), the tabbar and the grid won’t be disabled. And this is correct behaviour. In order to disable tab selection you can use the following tabbar method:


dhxTabbar.setOnSelectHandler(function(id){


return false;


})