Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097762

Listen for cell selection change in a TableView

    XMLWordPrintable

Details

    Description

      Hi,

      I would just to know if it is possible to listen for a cell selection change in a TableView.

      I know that is it possible to listen for a row selection change by doing something like this:

      TableView table = new TableView();
      table.getSelectionModel().setCellSelectionEnabled(true); // Enable cell selection
      table.getSelectionModel().selectedItemProperty().addListener(...)


      But it seems like it is not possible to listen when a individual cell is selected.

      Is there a workaround for this ?

      Thanks.

      Attachments

        Activity

          People

            jgiles Jonathan Giles
            jbahatijfx Jiva Bahati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: