2010/7/22 Mengü Kağan <[email protected]>

> Hi,
>
> Is there any event to listen when a column is marked visible or invisible
> via the visibility changer at the top right corner of the table?
>

The event "visibilityChanged" is fired on the column model. You can listen
on this event with code like the following:

table.getTableColumnModel().addListener("visibilityChanged", function(e)
{
  var data = e.getData();
  alert("Column " + data.col + " has changed visibility to " + (data.visible
? "true" : "false"));
});

Derrell
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to