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
I have a table with columns of indexes foreign keys and on these columns have set custom column type form plugin: SelectTypePlugin from '@revolist/revogrid-column-select'. This works fine, each index now transformed to text from foreign table. Table is editable and works fine.
Bud I need apply filter on these columns. I use AdvanceFilterPlugin from revogrid-pro a I set filter: ['selection'] on column definition. This works partially, because I see just indexes (original data), now I need translate indexes to texts for searching. I made extends of original plugin and override function getSelectionList but this works only for FilterHeaderPlugin. And then I found internal code: const dataSourceByColumn = new Map(); and setDataSourceByColumn, bud I don't know how override only this part of compiled component.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a table with columns of indexes foreign keys and on these columns have set custom column type form plugin: SelectTypePlugin from '@revolist/revogrid-column-select'. This works fine, each index now transformed to text from foreign table. Table is editable and works fine.
Bud I need apply filter on these columns. I use AdvanceFilterPlugin from revogrid-pro a I set filter: ['selection'] on column definition. This works partially, because I see just indexes (original data), now I need translate indexes to texts for searching. I made extends of original plugin and override function getSelectionList but this works only for FilterHeaderPlugin. And then I found internal code: const dataSourceByColumn = new Map(); and setDataSourceByColumn, bud I don't know how override only this part of compiled component.
Can anybody help me? Thank you..
Lukas
Beta Was this translation helpful? Give feedback.
All reactions