Fritz - here you are (I don't contribute this in the contrib section of the
wiki as it's a merely short extension.

http://www.nabble.com/file/p25389470/MultiLineDefault.js MultiLineDefault.js 
http://www.nabble.com/file/p25389470/MultilineHeaderCell.js
MultilineHeaderCell.js 

In my app file I used this:

<code>
var tcm = this.table.getTableColumnModel();
var hcr = new pmaster.ui.table.headerrenderer.MultilineDefault();
for(var i=0;i<this.tableModel.getColumnCount();i++) {
  tcm.setHeaderCellRenderer(i, hcr);
}
</code>

Don't know if one could shorten this procedure somehow (to use just one ext.
file or so) but it's doing the job.
Feel free to reuse and change this code, maybe someone wants to add this to
the snippets section or somewhere...

Thanks,
Daniel



Fritz Zaucker-3 wrote:
> 
> could you post or contribute your extension? It might be useful for others
> ... me included ... ;-)
> 

-- 
View this message in context: 
http://www.nabble.com/multiline-table-header-cells-tp24738289p25389470.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to