Skip to content

Table: specifying both emptyContent and loadingContent shows both of them while content is loading? #2427

Answered by alphaxek
brunokc asked this question in Help
Discussion options

You must be logged in to vote

Hi @brunokc, Please try this client side logic.

emptyContent={
 !state.isLoading ? 'No data. Click "Add" to add a new row.' : ' '
}

If this helps please mark it as answered, will really appreciate, thanks!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@brunokc
Comment options

@brunokc
Comment options

@alphaxek
Comment options

Answer selected by brunokc
@brunokc
Comment options

@alphaxek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants