Thanks. And it will disable column sorting also.

Jim


On 4/20/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

"Jim Hunter" <[EMAIL PROTECTED]> writes:

> I have to set the Table so that the user can not move the columns
around. I
> have looked through the API viewer and I do not see it mentioned
anywhere. I
> simply want to disable column moving.

It doesn't appear that there's currently a mechanism to do this.  Please
post
an enhancement ticket as it should be possible (and easy, from a user
point of
view) to accomplish what you ask.

As a quick nasty hack, you can try this (untested) snippet:

    var scrollers = myTable._getPaneScrollerArr();
    for (var scroller = 0; scroller < scrollers.length; scroller++)
    {
      var paneScroller = scrollers[scroller];
      paneScroller._onmousedownHeader = function() { };
    }

Note that this will disable column resizing as well.

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to