Skip to content
Discussion options

You must be logged in to vote

Thank you very much, I actually do need buttons since the table I'm trying to create uses many more columns and having URLs in the table would make it get bloated very quick. However, thanks to your example, I was able to figure out how to do exactly what I needed!

from nicegui import ui

columns = [
        {'name': 'name', 'label': 'Name', 'field': 'name'},
        {'name': 'age', 'label': 'Age', 'field': 'age'},
        {'name': 'link', 'label': 'Link', 'field': 'link'},
    ]
    rows = [
        {'name': 'Alice', 'age': 18, 'link': 'https://example.com'},
        {'name': 'Bob', 'age': 21, 'link': 'https://example.com'},
        {'name': 'Carl', 'age': 42, 'link': 'https://example.com'

Replies: 1 comment 5 replies

Comment options

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

Answer selected by PoshoDev
@retsyo
Comment options

@falkoschindler
Comment options

@UStar987
Comment options

@rodja
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants