Hi,
in a table you can set columns invisible:
this.table.getTableColumnModel().setColumnVisible(2, false);
You can also change the tablemodel:
this.table.getTableModel().setData(this._fetchDataWith_4_columns());
this.table.getTableModel().setColumns([ "ID", "A number", "A
date",
"Boolean test" ]);
// change the columnNames
this.table.getTableModel().setColumns([ "ID2", "number 2",
"date",
"Boolean" ]);
// and later
this.table.getTableModel().setData(this._fetchDataWith_2_columns());
this.table.getTableModel().setColumns([ "ID", "number" ]);
greetings,
Dimitri
Leander Hanwald wrote:
>
> Hi all,
>
> is there any way to add, remove, rename and move columns tables and
> listviews when they are already shown?
>
> I find a way to rename the columns for tables, but not more :/
>
> Greetings,
> Leander
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/Tables-and-ListViews-tf3966279.html#a11258983
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel