If this is an exact copy of what your code is, then you have a syntax error.
You are missing a closing paren.
tableModel.setColumns(
["Item Num",
"Item Desc]); //<---- missing this paren
I did have a little trouble passing in only one array for the column
headers, so I started to always pass the array in twice:
tableModel.setColumns(myArray, myArray);
Jim
On Fri, Apr 11, 2008 at 7:19 AM, kanugula <[EMAIL PROTECTED]>
wrote:
>
> 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
>
--
Jim Hunter
DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS
-------------------------------------------------------------------------
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