On Tue, Apr 26, 2011 at 14:48, slah <[email protected]> wrote:

>
> I'm sorry, I liked your idea but I was enable to implement it.
>
> First let me tell you that I'm creating my table model initially using:
>
>      tableModel.setColumns(["CVEH",  this.tr("Date et Heure"),  "Lon",
> "Lat", this.tr("Lieu")] ,
>                                            ["CVEH", "DT",   "LON", "LAT",
> "LWP" ]);
>
>
> then when I want to fill my table,  I'm using :  tm.setData(result.values)
> where values is [][] containing values and no Keys.
>
> When I tried using:    tm.setDataAsMapArray(result.values, true), my table
> becomes empty.
>
> I guess I've to use setDataAsMapArray or I won't get the expected behavior
> you explained before.
>

If you are using the traditional array of arrays of row data, then you can
also add an additional column to the row data (rowData.push(marker)) and
access it that way. The map is a bit cleaner, but this works too.

Derrell
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to