Disabling grid temporarily
My page is a frameset. The grid control loads values that control the other frames. So when you add items to the grid, then click back on them, they load the respective controls in other frames. While the loading is happening, I want to disable the grid so the user does not do something "stupid" like clicking another item before the frames have finished updating.
In my case, what I did is load the grid into my own <div />. Something like this:
Then in my createGrid() method, I assign it like this:
var obj = new Active.Controls.Grid;
parent.frames.frmGrid.divGrid.innerHTML = obj;
This works great. I even can disable the entire grid, or so I thought, bu issuing the parent.frames.frmGrid.divGrid.disabled = true which grays out the whole thing. However, the items within are still selectable.
Any ideas would be greatly appreciated. At this point all I can think of is to go through all the elements, i.e., divGrid.elements, and disable/enable each one which is a lot of overhead.
I can't believe I could not find the thing. Sigh...
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.