To do this ensure that "mayscript" is added to your applet tag, i.e.
<applet code="AdvDataGridApplet" archive="AdvDataGrid.jar" width="430"
For a demonstration of this see Example 4 - click here.
The Data Grid has several methods exposed which enable the properties and data of the grid to be updated dynamically from other
The 3 main methods are,
Change a Grid Property
set_param(parameter, value, re_paint)
Change a Column Property
set_column(column, value, re_paint)
Change a Cell Data Value
set_datavalue(column, row, value, re_paint)
So that the Data Grid may referenced from other page objects it must first be named. This is done by adding the 'name' parameter
to the <applet> tag. i.e,
<applet name="DATAGRID" code="AdvDataGridApplet" archive="AdvDataGrid.jar"
width="430" height="333" mayscript>
For a full description on each of these methods see Dynamic Methods - click here
For a demonstration of these methods see Example 5 - click here