TanStackT
TanStack3y ago
1 reply
worthy-azure

svelte

Is it possible to "bind" a property value when using the flexRender function?

{
    id: 'player_info_header',
    header: (header) => {
        return flexRender(TableFilter, {
            'bind:value': globalFilter,
        })
    },
    columns: [


I want to render a filter in the header column and bind the value to the globalFilter variable. I can't find any examples of people binding a value while using the flexRender function, so not sure if it is possible.
Was this page helpful?