Skip to content

Need Assistance Calling the Search Filter Function Inside the Search Template in NiceGUI Table #3058

Discussion options

You must be logged in to vote

Hi @Swasthik-Jain,

You can simply add a ui.input element to the "top-right" slot and bind it to the filter property:

with table.add_slot('top-right'):
    ui.input(placeholder='Search...').bind_value(table, 'filter')

    ...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Swasthik-Jain
Comment options

Answer selected by Swasthik-Jain
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
Converted from issue

This discussion was converted from issue #3057 on May 12, 2024 13:48.