Material-table: Empty table with input cells

Created on 29 May 2019  路  2Comments  路  Source: mbrn/material-table

Hi,

I am trying to make a table that contains no data (empty table) before the user inputs the data needed. Is that possible with material table? Couldn't figure that out in docs.

help wanted

Most helpful comment

Hello,

Just set data empty. Take the Simple action example from here. If you set data={[]} then you get a table with no data. You can translate the No records to display using the localization object, check here.

All 2 comments

Hello,

Just set data empty. Take the Simple action example from here. If you set data={[]} then you get a table with no data. You can translate the No records to display using the localization object, check here.

Thanks a lot!

Was this page helpful?
0 / 5 - 0 ratings