On Fri, Feb 11, 2011 at 16:23, slah <[email protected]> wrote:
>
> Hello,
>
> I've corrected the JSON server output as Jim noticed.
>
> what I need is to use the "fields" array to set column names automatically
> (taht's why there's a comment Derrel) and "values" array of arrays to set
> the table data rows.

That's not the way it's typically done, and you may not have that
option. I know that you can NOT change the *number* of columns once
the table is established. The number of columns is too intertwined
with the inner workings of the table so you aren't allowed to change
after it's established initially. You may be able to change the labels
on the columns if that's all you're trying to do (I don't recall
whether there's an interface to do that), but it's not done via the
setData() method.

Cheers,

Derrell

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to