i tried this component in RapidClipse. Just added dependency and repository

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

Hi Heinz and my apologies for late response.

In case you haven’t solve this yet, I tried your code with Vaadin 13.0.13 (using https://github.com/capeisti/infinite-grid-demo/blob/master/pom-bower.xml as a base) project and the thing that I had to change was to assign size to InfiniteGrid component by .setSizeFull().

By default it does not make any assumptions about minimum size so it will be zero and thus invisible. My additional hint is to avoid using component generator if possible. It’s there for convenience where you cannot avoid it but use template generator as a preferred default way of populating the grid.