Hello,
I have a Remote Table. The Table rows get filled if I use Column Ids. It
doesn't work without Column Ids.
I have some Tables where the data is retrieved in text format instead of
javabean style.
Working
======
tableModel.setColumns(
["Item Num",
"Item Desc"],
["itemNum",
"itemDesc"]);
rowData.push({itemNum: result.itemNum, itemDesc: result.itemDesc});
In this case, the Rpc result has properties of itemNum and itemDesc.
Not-Working
=========
tableModel.setColumns(
["Item Num",
"Item Desc];
var columnDataArr = result.data.split(",");
rowData.push([ columnDataArr[0], columnDataArr[1] );
//rowData.push([ columnDataArr ] ); <--- This is also not working
//rowData.push( columnDataArr ); <--- This is also not working
In this case, I get data in record format as "1234,Mobile Phone".
It doesn't populate the rows. I don't see any error in FireBug.
Can somebody tell me the error please?
Thanks.
Kanugula.
--
View this message in context:
http://www.nabble.com/TableModel.setData-without-column-id-tp16627831p16627831.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel