Get all/some cell data as item grid
Hi,
I have a screen that has two parts: detail & line item. I need to get soke values form the line item grid; it varies by user action. While saving, I need to get the all the values from the first column where the the second column is true.
Thanks!
myData =[
["555C3FDE-96A7-478D-A503-9CD777D027DF",false,"Home",""],
["6DCE2EBB-B724-4452-9B34-CCBAE00A418A",false,"Project",""],
["F31572AF-B4BF-4E67-94FF-7176D022B108",false,"Template",""],
["EB3E75C5-4469-4201-9BAE-D20DF9857FE3",false,"Admin ools",""],
["DD90DADC-F353-45A7-91B0-180AFF7674ED",false,"Help",""],
];
var grid = new AW.UI.Grid;
grid.setId("myGrid");
grid.setHeaderText("header");
var str = new AW.Formats.String;
grid.setCellFormat([str,str,str,str]);
grid.setCellText(myData);
grid.setColumnCount(4);
grid.refresh();
I have a screen that has two parts: detail & line item. I need to get soke values form the line item grid; it varies by user action. While saving, I need to get the all the values from the first column where the the second column is true.
Thanks!
myData =[
["555C3FDE-96A7-478D-A503-9CD777D027DF",false,"Home",""],
["6DCE2EBB-B724-4452-9B34-CCBAE00A418A",false,"Project",""],
["F31572AF-B4BF-4E67-94FF-7176D022B108",false,"Template",""],
["EB3E75C5-4469-4201-9BAE-D20DF9857FE3",false,"Admin ools",""],
["DD90DADC-F353-45A7-91B0-180AFF7674ED",false,"Help",""],
];
var grid = new AW.UI.Grid;
grid.setId("myGrid");
grid.setHeaderText("header");
var str = new AW.Formats.String;
grid.setCellFormat([str,str,str,str]);
grid.setCellText(myData);
grid.setColumnCount(4);
grid.refresh();
Blueridge
September 10,