On Tue, Aug 10, 2010 at 10:18, Derrell Lipman <
[email protected]> wrote:

>
>>  I have a simple question. Which event should I listen when my users
>> resize
>> the columns themselves? Is there a special event which is not also fired
>> when setColumnWidth is called via my system?
>>
>
> There is no event that is fired only upon user resize of columns and not
> upon resize due to window resize or column visibility changes. What you
> really want to do is override __handleResizeColumn(), but since it's a
> private method, you can't. That method is called by _onMousemoveHeader() but
> you can't override that because it make use of other private variables. The
> solution is not trivial without code changes to Scroller.
>
> Please create an enhancement bug report to add a "widthChangedByUser"
> event, assign it to me, and I'll see what I can do for you. (Also, please
> confirm that you're able to use trunk for your development. This is an
> enhancement, so won't be going into any previous-version bug-fix releases.)
>

Please apply the attached patch. This will add a new member to the data map
passed to the column model's widthChanged event. The member isMouseAction
will be true if the width is being changed as a result of a drag in the
header.

Let me know how this works.

Derrell
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to