React-table: Override 'No rows found' message with a custom message

Created on 5 Sep 2018  路  3Comments  路  Source: tannerlinsley/react-table

When there are no rows in the dataset to generate a table, it shows the message 'No rows found'. How can I override this message to be a custom message?

screen shot 2018-09-04 at 4 27 14 pm

Most helpful comment

@The-Code-Monkey Check "noDataText" attribute in the docs. It is just a string which is set to a value. You can pass whatever custom string value in here.

All 3 comments

Closing this as I found it in the documentation :)

where was it in the docs

@The-Code-Monkey Check "noDataText" attribute in the docs. It is just a string which is set to a value. You can pass whatever custom string value in here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DaveyEdwards picture DaveyEdwards  路  3Comments

alexanderwhatley picture alexanderwhatley  路  3Comments

esetnik picture esetnik  路  3Comments

dwjft picture dwjft  路  3Comments

panfiva picture panfiva  路  3Comments