Hello,
I have a table with many (hundreds/thousands of) rows. Given that Inputs.table renders its rows lazily how can I jump to a specific row that has not been rendered yet?
Thanks in advance
Hello,
I have a table with many (hundreds/thousands of) rows. Given that Inputs.table renders its rows lazily how can I jump to a specific row that has not been rendered yet?
Thanks in advance
You can tell Inputs.table()
to render all rows by setting the number of visible rows to Infinity and enforcing a height:
Inputs.table(penguins, {rows: Infinity, height: 12 * 23})
Thanks, I didn’t know that. However, if the table has thousands of rows it might be more convenient if there was a way to avoid rendering the in between rows and “start rendering from row X”
But what you propose also works, I suppose
If the number of rows is large enough to cause performance issues then I would recommend to prefilter the data, e.g. via Inputs.search().