On Fri, Jun 25, 2010 at 08:08, <monika.f...@tieto.com> wrote:

>  Hi Everyone
>
> I am using a table with remote table model (Qooxdoo 1.1). I want to have a
> table without visible columns header. However I need to set up columns Ids.
> So I am using method setColumnIds instead of setColumns. In the
> specification of setColumnIds method there is a note:  This will clear
> previously set column names. And it does so I got en error. Is that a
> correct behaviour?
> Maybe you can write me what I am doing wrong.
>

No, setColumns and setColumnIds both do approximately the same thing, and
have nothing to do with the visibility of the header. You can use this
snippet to eliminate the column headers and the column visibility button
(i.e. remove the entire top line):

table.setColumnVisibilityButtonVisible(false);
var scrollerArr = table._getPaneScrollerArr();

for (var i=0; i<scrollerArr.length; i++)
{
  scrollerArr[i]._excludeChildControl("header");
}


Derrell
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to