Re: Speeding up column resize

2017-04-15 Thread Javier Guerrero GarcĂ­a
Couldn't you just do that using the standard LabelItemRenderer and: paddingLeft alternatingItemColors textIndent properties? Also, you could just (temporarily) tune your custom item renderer down to a standard LabelItemRendered, and check if your assumptions are right, but since DataGrid uses vir

Re: Speeding up column resize

2017-04-15 Thread Clint M
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

Speeding up column resize

2017-04-15 Thread DanielMcQ
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