flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clint M <cmod...@gmail.com>
Subject Re: Speeding up column resize
Date Sat, 15 Apr 2017 21:17:36 GMT
You could catch the GridEvent.SEPARATOR_MOUSE_DOWN, SEPARATOR_MOUSE_DRAG,
and GridEvent.SEPARATOR_MOUSE_UP and then hide and show what you need to.
The events are dispatched by the GridColumnHeaderGroup but they're mouse
events so they should bubble up to the grid itself.

On Sat, Apr 15, 2017 at 1:43 PM, DanielMcQ <daniel@mcquilleninteractive.com>
wrote:

> Hi,
>
> My s:DataGrid is a bit slow when the user resizes a column, enough that it
> makes it hard to us. I'm assuming the delay is because my rows use one of
> two custom renderers (although both renderers are really just labels...one
> render adds a background rect. with an alternating color and an indent and
> some other small style tweaks).
>
> Is there any way to speed up performance when the user resizes a column?
> Perhaps have renderers listen for resize and hide themselves during the
> user's drag?
>
> Thanks for any tricks.
>
> Best Regards,
>
> Daniel
>
>
>
>
> -----
> ~~~~~~~~~~~~~~~~~~~~~~~
> mcquilleninteractive.com
> simplediagrams.com
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Speeding-up-column-resize-tp15056.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message