Closed TatuLund closed 2 years ago
Just noting, that Tree does not have convenience API for getting data communicator of the internal TreeGrid, but it is possible to extend Tree as follows:
public class ExtTree<T> extends Tree<T> {
public HierarchicalDataCommunicator<T> getDataCommunicator() {
return ((TreeGrid) super.getCompositionRoot()).getDataCommunicator();
}
}
Some components are harder to extend than Grid for overriding max rows limit. However getDataCommunicator is a public method and thus this API would make overriding the limit easier, see example