I'm new to all this, but so far I'm loving what I see.  I was looking to
prevent column resize behavior and nothing was in the API docs that I saw.
 I did see an old post from '09 or so that hinted at a possible solution.
 This is a follow up to that as both my solution for "allow resize" and the
documentation update request surrounding it.

*#1 - The solution* *(I think this would be nice to have as a built-in
column behavior choice)*
var tcm = this.getTableColumnModel();
tcm.addListener("widthChanged", function(e){
var col = e.getData().col;
if(e.getData().isMouseAction)
this.setColumnWidth(col, e.getData().oldWidth);
}, tcm);

*#2 - The documentation update*
The 2009 posting pointed me to a patch that added widthChanged, but I
noticed 
#widthChanged<http://demo.qooxdoo.org/2.0.2/apiviewer/#qx.ui.table.columnmodel.Basic~widthChanged>
doesn't
have it listed as a returned attribute.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to