> This PR will fix a simple NPE which may happens when using the `TableRow` 
> inside a `TableCell` during the initial auto sizing.
> In the auto sizing code, no `TableRow` is set, therefore `getTableRow()` will 
> return null and it is not possible to e.g. access the row item.
> 
> This is fixed by adding the `TableRow` in the `resizeColumnToFitContent` 
> method, similar as it is already done for the `TreeTableView` 
> (`TreeTableRow`).

Marius Hanl has updated the pull request incrementally with one additional 
commit since the last revision:

  8251481: Added jdk ticket reference in TreeTableCellTest + Grammar

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/716/files
  - new: https://git.openjdk.java.net/jfx/pull/716/files/a8d99555..a706068e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=716&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=716&range=02-03

  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jfx/pull/716.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/716/head:pull/716

PR: https://git.openjdk.java.net/jfx/pull/716

Reply via email to