Tree Grid
http://www.terriblecow.com/awc/ex_row/dyntable.html
I have been studying and trying this example to implement similar approach in one of my project, but I have one issue.
If I click the "+" in one of the rows, it calls expandRow()
and I get runtime error when calling this function.
This is I believe is due to the 2nd and 3rd parameter.
The second parameter has valid value (grida-row-0)
The thirdparameter "row.getProperty("item/index")" always gives me runtime error.
The only difference is that instead of using
var obj = new Active.Controls.Grid;
I am using
var obj = new AW.Grid.Extended;
since when using Active.Controls.Grid, I get ("Active undefined") error. I am using AW 2.0.
I even tried replacing the third parameter with just "index". then inside
expandRow, when doing document.getElementById(rowId), I get "null".
Can anyone please help me if I am missing anything.
Thanks
I have been studying and trying this example to implement similar approach in one of my project, but I have one issue.
If I click the "+" in one of the rows, it calls expandRow()
and I get runtime error when calling this function.
This is I believe is due to the 2nd and 3rd parameter.
The second parameter has valid value (grida-row-0)
The thirdparameter "row.getProperty("item/index")" always gives me runtime error.
The only difference is that instead of using
var obj = new Active.Controls.Grid;
I am using
var obj = new AW.Grid.Extended;
since when using Active.Controls.Grid, I get ("Active undefined") error. I am using AW 2.0.
I even tried replacing the third parameter with just "index". then inside
expandRow, when doing document.getElementById(rowId), I get "null".
Can anyone please help me if I am missing anything.
Thanks
VJ
November 12,