SFDO-Community-Sprints / sticky-selectron-documentation

Sticky Selectron is a Datatable Lightning Component for easy record selection in a screen flow that will persist (or remain “sticky”) across flow screens.
6 stars 0 forks source link

Dynamic Column display #6

Closed roanBBC closed 1 year ago

roanBBC commented 1 year ago

Provide UI and infrastructure for dynamically defining which columns will display

pickettd commented 1 year ago

I looked into this a bit this morning (mostly from the perspective of how to make the LWC flexible enough on parameters that we can release the code/package publicly and not have a big parameter change in the future). At the minimum, I think we want to pass the LWC a collection of fieldNames for the left side columns and a collection of fieldNames for the right side columns.

To match current LWC functionality - in addition to that, it seems like the user could optionally want the ability to label those columns as they wish - so instead of being just a collection of strings (the fieldNames) we'd want collections of <String, String>.

For the eventual best user experience though - we probably want to setup a custom property editor LWC for our sticky-selector and I think this SF help page shows a way of doing that.

pickettd commented 1 year ago

First version of this is completed and team has tested