Getting dynamically created grid object
How can I do that? document.getElementById('mygrid') doesn't seem to work, or am I barking up the wrong tree?
You can use a variable or a static string inside the eval parameter to get a handle to the actual grid, then you can do anything you would normally do to the grid. You can also place that handle into a variable like this:
x = eval('mygrid') theIndex = x.getSelectedIndex(); theId = x.getId();
var obj = Active.System.all['mygrid']
I am going to assume for now that AW.System.all will work the same for version 2. Is this correct?
var obj = AW.object(id);
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.