It looks like a bug. It is an exception (it also happens if I toggle the visibility by clicking the button at the righto of the headers.
ERROR: qx.ui.table.ResizeTableColumnModel[156]: Could not dispatch event of type "visibilityChanged": TypeError - this._columnDataArr[col] has no properties. Created bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=349 dperez wrote: > > Dear table gurus, > > In the changeChecked event handler of a CheckBox I have this code to > toggle the visibility status of a table: > myCheckBox.addEventListener('changeChecked', function(ev) { > table.getTableColumnModel().setColumnVisible(1, ev.getData()); > }); > > This code works ok. The column is shonw or hidden, but the headers aren't > updated. > Should I use another API? > Is this a bug? > > Thanks in advance for your time and patience! > > Regards, > David > -- View this message in context: http://www.nabble.com/Table%3A-how-to-change-the-visibility-status-of-a-table-column-tf3466710.html#a9673108 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
