On Wed, Oct 27, 2010 at 08:25, Pascal Chorus <[email protected]>wrote:

>  Hi everybody!
>
> I have a problem with the qooxdoo table when hiding the header cells.
>
> I implemented a table in my application.
> There was no problem until I wanted to hide the header cells.
> After calling the two methods
>
> qx.ui.table.Table.setHeaderCellsVisible(false)
> and
> qx.ui.table.Table.setColumnVisibilityButtonVisible(false)
>
> the header cells weren't visible anylonger (as expected), but
> when moving the mouse over the data rows in the table I get the same error
> several times.
>
> It happens in the following line of the class qx.ui.table.pane.Scroller:
>
>  _getColumnForPageX : function(pageX)
> {
>  var columnModel = this.getTable().getTableColumnModel();
>  var paneModel = this.getTablePaneModel();
>  var colCount = paneModel.getColumnCount();
>  *var currX = this.__header.getContainerLocation().left; *
>   .......
> }
>
> The error message is:
> this.__header.getContainerLocation() is null
>
>
> Is it a bug?
>

It's a bug to the fairly recently added facility to hide the header. The
table was never intended to have its header hidden, and I thought we'd come
up with a viable solution to do it (people were requesting it) but
apparently that solution doesn't work. Please create a bug report for this,
and include as much detail as you can. (A playground example that causes the
problem, along with instructions for reproducing the problem, would be very
useful.)

Derrell
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to