Home Forums FlexGanttFX Highlight the selected Row

  • Author
    Posts
  • gmoubarak
    Participant
    Post count: 7
    #13058 |

    Hi dirk,

    How to highlight the selected row?

    I followed the code and saw that you can get the system layer from the graphics for RowLayer.

    however I saw that it’s a bit complicated to enable a simple row highlight on the gantt. Is there any simpler way instead of creating a RowRenderer?

    regards

    Gerard

  • Dirk Lemmermann
    Keymaster
    Post count: 60
    #13059 |

    Row selection does not exist directly on the right-hand side. Only the tree table view on the left supports this. However, as you pointed out, you can implement either a custom system layer or use the RowLayer with a pluggable renderer. Currently there are no other options. The custom layer would need to check the selection model of the tree table view to figure out whether a row is selected. The Swing version of FlexGanttFX does provide support for this feature, however, by far the most users did not want to highlight the row selection on the right-hand side, so I figured I should not add it to the framework.

You must be logged in to reply to this topic.