Can tables be automatically added

After I initialize a table, there may only be a few rows. If I have more data to display later, can the table automatically increase the number of rows, or do I need to set enough rows when creating it.

Hello,

From the lv_table documentation: Table (lv_table) — LVGL documentation

New rows and columns are automatically added as required

So you if you use lv_set_cell_value() on a row that does not yet exist, it will add this row.
Removing them is another story, you will have to use lv_table_set_row/column_count.

1 Like

Thank you very much.
I have implemented the function using this method