SFDO-Community / declarative-lookup-rollup-summaries

Declarative Lookup Rollup Summaries (DLRS) is a community built and maintained Salesforce application that allows you to create cross object roll-ups declaratively - no code! For install instructions and documentation, visit our website https://sfdo-community-sprints.github.io/DLRS-Documentation/
https://sfdo-community-sprints.github.io/DLRS-Documentation/
BSD 3-Clause "New" or "Revised" License
683 stars 235 forks source link

LWC Wizard: Manage Rollups Datatable should have header-filtering for some columns #1449

Open aheber opened 2 months ago

aheber commented 2 months ago

Is your feature request related to a problem? Please describe. The Manage Rollups datatable should allow users to filter rows on the columns with a few possible values; Active, Calc Mode, and Rollup Type. The relatively small possible values here makes them ideal for filtering.

Describe the solution you'd like The manageRollups LWC configures the datatable. It will need filtering added to those column configurations via custom actions.

Additional context Use the

Creating Header Actions

sections of https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/documentation They have an example of adding filtering using custom header actions, you can set a variable on the LWC and leverage it as part of the calcRollupList function of the class. You would receive the header action, apply it to the held component variables, and invoke calcRollupList which would respect the applied filtering.