Disabling grid temporarily

Is there a way to disable the entire grid temporarily so the user cannot click on anything?

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:

<div id="divGrid></div>

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.
March 8,
btw, it doesn't matter if I go through all the elements because the events still fire even when they're disabled.

March 8,
Arthur, maybe this can help -

Alex (ActiveWidgets)
March 8,
My hero... :)

I can't believe I could not find the thing. Sigh...

Thanks again.
March 8,

This topic is archived.

See also:

Back to support forum