Can not add table to a component
I have a custom component where i want to display a table.
Implemented the trait and interface:
Now the problem is adding the table method, this expects to return a Table , but the underlying trait expects Static as return type.
This is according to the docs:
And when checking the trait HasTables, the method is like this:
So this will result in the following error:
Am I missing something or is this a bug?
1 Reply
Solution
Found it, used the wrong trait.
The correct one is