I am using a bunch of windows to hold different grids and ran into a problem when I had 20 or more windows open. Currently that would make the top most window have a z-index of 1000 but the context menu used to show and hide columns in the grids only has an index of 999.
I tried using the following code to change the zIndexStep and z-index of each open window but was unsuccessful even though the function did not throw any errors:
var zIndex = 10;
dhxWins.forEachWindow(function(win)
{
win.style.zIndex = zIndex;
win.zIdexStep = 20;
zIndex += win.zIndexStep;
});
Does anyone have any suggestions on how to fix this issue?