Hello,

Was this issue ever resolved?  We are using qooxdoo tables and notice that
the scrollbar doesn't appear when data goes out of bounds, similar to what
was described in this post.  The work-around mentioned above (
table._getPaneScrollerArr()[0]._afterAppear() ) doesn't bring up the
scrollbar though...  We are using qooxdoo version 0.7.4.

Thanks,

David W.


alex.d wrote:
> 
> Here is a possible solution for this problem(see patch in the attachment).
> 
> Best Regards,
> 
> alex.d
>>
>>
> Index: SimpleTableModel.js
> ===================================================================
> --- SimpleTableModel.js       (revision 3857)
> +++ SimpleTableModel.js       (working copy)
> @@ -181,7 +181,10 @@
>  
>    // Inform the listeners
>    if
> (this.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)) {
> -    var data = { firstRow:0, lastRow:rowArr.length - 1, firstColumn:0,
> lastColumn:rowArr[0].length }
> +             var lastColumn = rowArr[0] ? rowArr[0].length : 0;
> +             var lastRow = rowArr.length ? rowArr.length - 1: 0;
> +             
> +    var data = { firstRow:0, lastRow: lastRow, firstColumn:0, lastColumn:
> lastColumn };
>      this.dispatchEvent(new
> qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED,
> data), true);
>    } 
> 

-- 
View this message in context: 
http://www.nabble.com/Table-scrollbar--tp5725896p22413457.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to