Skip to content

How to change text/language of "Errors" in table. #4693

Closed Answered by evnchn
Kowersky asked this question in Q&A
Discussion options

You must be logged in to vote
from nicegui import ui

columns = [
    {'name': 'name', 'label': 'Name', 'field': 'name', 'required': True, 'align': 'left'},
    {'name': 'age', 'label': 'Age', 'field': 'age', 'sortable': True},
]

ui.table(columns=columns, rows=[], row_key='name').props('no-data-label="So empty..."')

ui.run()

Inspired by:

https://quasar.dev/vue-components/table/#example--no-data-label

https://github.com/quasarframework/quasar/blob/dev/docs/src/examples/QTable/NoData.vue

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by evnchn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants