flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pzahra <...@git.apache.org>
Subject [GitHub] flex-sdk issue #46: Fix issue with Spark Grid scrolling/alignment when using...
Date Tue, 31 Oct 2017 12:34:13 GMT
Github user pzahra commented on the issue:

    https://github.com/apache/flex-sdk/pull/46
  
    Sure, I deleted that particular sandbox a while ago but I can describe it. Start with
the old s:DataGrid, give it a dataset large enough to give it a nice long pair of scrollbars.
Now set a couple of rows and columns to be locked (one column and three rows, I used). You'll
need to provide a custom cell renderer like we had that sets its own background using the
"selected" state instead of letting the control background show through (we were using this
because some cells needed to be different colours and still indicate when they were selected).
Run that and select some random cells. Notice that inside the main scrollable area the highlight
is offset by the number of rows that are locked (not columns). If you have a second dataset
that is smaller, switching to that while the data is scrolled all the way will also misalign
the panes.


---

Mime
View raw message