Ooops !!!
I found my own answer ... use:
tableModel.setColumnIds
tableModel.setColumnNamesById
Jesus Perez wrote:
>
> Hi:
>
> I would like to know if there is a way to have columns headers with a
> label with diferent value than the one is set with setColumns-head. Let me
> explain: if I use setDataAsMapArray the columns from the data array must
> match the setColumns values but I want to have in the screen a different
> text, let say from the array I have "name" but for the output table label
> I want for example "Full Name". I need to do this to read from columns
> database and output header in different languages ... you can imangine.
>
> The only way I found to do it is to setData and then inmediatly change
> the Columns-head, but this is for each time that I have to setData.
>
> For instance I would like to know if I can put Icons or HTML as columns
> headers, but anyway the problem with setDataAsMapArray will be there.
>
> Thanks in advance.
>
>
--
View this message in context:
http://www.nabble.com/Changing-column-head-in-tables-using-setDataAsMapArray-tf2317528.html#a6464405
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel