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
We're trying to make a table with dynamic headers. The documentation states to sort by using "key: [column-name]". If a key is "a string with the name of the column it will sort by" then by using the Aurelia convention you should be able to apply string interpolation like so:
<th repeat.for="col of headers" aut-sort="key: ${col}">
This resulted in an error message saying that key was null.
Is there something we're doing wrong or do you think this is something that will be supported in the future?
Thanks,
Eric
The text was updated successfully, but these errors were encountered:
Hey,
We're trying to make a table with dynamic headers. The documentation states to sort by using "key: [column-name]". If a key is "a string with the name of the column it will sort by" then by using the Aurelia convention you should be able to apply string interpolation like so:
<th repeat.for="col of headers" aut-sort="key: ${col}">
This resulted in an error message saying that key was null.
Is there something we're doing wrong or do you think this is something that will be supported in the future?
Thanks,
Eric
The text was updated successfully, but these errors were encountered: