Febian,
        Thanks for the answer. It worked :)
I think it can be exposed through a setEnableColumnReOrdering() method in Table 
class.
Internally set this to the Scoller and control the column movement based on 
this flag.

Thanks Again,
Raffi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Jakobs
Sent: Friday, August 01, 2008 3:02 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] How to disable Column reordering 
inqx.ui.table.Table

Hi Raffi,

> All,
>     How to disable Column reordering in "qx.ui.table.Table"?
>
>   
There is not switch you can turn on to disable column reordering but you can 
achieve this by providing your custom table scroller:

1. Subclass "qx.ui.table.pane.Scroller"
2. Override the methods "_startMoveHeader" and "_stopMoveHeader" with empty 
methods. Don't call "this.base()" in these methods.
3. Tell your table to use your scroller class:
 
 var table = new qx.ui.table.Table(model, {
   tablePaneScroller : function(obj)  {
     return new your.pane.Scroller(obj);
   }
 });


Best Fabian
 

--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to