i tried this component in RapidClipse. Just added dependency and repository to pom.xml Did a maven update. Then added the provided sample code, only to see what will happen. The used code:
public void baueTableChart2()
{
this.logger.info(
Thread.currentThread().getStackTrace()[1]
.getLineNumber() + ": build TableChartModel with InfiniteGrid ");
this.hlLayoutGrid.removeAll();
final InfiniteGrid infiniteGrid = new InfiniteGrid();
infiniteGrid.setCellSize(200, 40);
infiniteGrid.setItemCount(100000, 100000);
infiniteGrid.setComponentGenerator((x, y) -> new Button(
String.format("%d, %d", x, y),
e -> Notification.show(String.format("clicked (%d, %d)", x, y))));
this.hlLayoutGrid.add(infiniteGrid);
}
at the end, I assign the grid to a horizontal layout. The method is called but nothing happend.
Did i forget something, or where is my error?
Additional: I am Running in Vaadin 13 (Flow 1) compatibility mode. This is the basic RC10 configuration.
After this did not work, I tried the sample from github.
Also without success.
So I assume, that the reason why it did not work could be the vaadin version i use.
Thank you in advance Heinz