Hello everyone ! I've some problems on creation of some components in a window. Actually i understand how create the structure of the window, using the class DialogTemplate, then to take the value and insert data trought the methods get and set (getDlgText(), setDlgText() or getDlgValue(), setDlgValue()) How Can I addsome data in the table? And How can I add Child in the Tree? Thanks
5 Replies
-
-
Hi ,
I have the same problem.
Could you please tell me how you managed to put values into a table.
Thanks,
Adar
-
-
-
Problem solved:
e.g.
When you have a Table:
oTmpl.Table(0,0,400,200,["Attribut","English","National Language"],[Constants.TABLECOLUMN_DEFAULT,Constants.TABLECOLUMN_DEFAULT,Constants.TABLECOLUMN_DEFAULT],["33","33","33"],"Table_1",0);
then u can set a item with this statement:
aPages[0].getDialogElement("Table_1").setItems([["XYZ","ZZZ","YYY"]]);