Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35280

Spark DataGrid getHeaderIndexAt() and getColumnIndexAt ignore y value when returning column index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.14.1
    • Apache Flex 4.15.0
    • Spark: DataGrid
    • None

    Description

      GridColumnHeaderGroup.getHeaderIndexAt() -> GridHeaderViewLayout.getHeaderIndexAt() -> GridDimensionsView.getColumnIndexAt() -> GridDimensions.getColumnIndexAt(). In the last step of this chain of function calls the y argument is simply ignored, creating erroneous results.

      Note that it looks like the initial intention of the developers was not to ignore the y argument. The function description supports this: Returns the index of the column at the specified coordinates. If the coordinates lie in a gap area, the index returned is the previous column. Returns -1 if the coordinates are out of bounds.

      Attachments

        Activity

          People

            evolverine Mihai Chira
            evolverine Mihai Chira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: