You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have multiple tables on the same page, I want them to each record their query param independent of each other so that they do not incorrectly share globalFilter values as the tables may be unrelated.
I have a name() signal that I use for other parts of the table (such as for the placeholder input text "Search ...", or for the CSV file name when exporting the table), and I would like to set the linkedQueryParam key to a computed value based on the name so that the query params can coexist.
Proposed Solution
Allow the key parameter to accept a signal/computed value so that the following could be possible (undefined would be ignored and would no-op until a value becomes available):
If you attempt to use an input signal (such as this.name()), the query param key becomes the text "undefined" because the signal has not been initialized yet
The text was updated successfully, but these errors were encountered:
Background
I am attempting to use
linkedQueryParam
in my generic table component to record the search input string as a query param. The code looks like this:If I have multiple tables on the same page, I want them to each record their query param independent of each other so that they do not incorrectly share
globalFilter
values as the tables may be unrelated.I have a
name()
signal that I use for other parts of the table (such as for the placeholder input text "Search ...", or for the CSV file name when exporting the table), and I would like to set the linkedQueryParamkey
to a computed value based on the name so that the query params can coexist.Proposed Solution
Allow the
key
parameter to accept a signal/computed value so that the following could be possible (undefined would be ignored and would no-op until a value becomes available):Current Behavior
If you attempt to use an input signal (such as
this.name()
), the query param key becomes the text "undefined" because the signal has not been initialized yetThe text was updated successfully, but these errors were encountered: