Skip to main content

I was wondering if there was a way to have multiple views for a single table component, these different fields would just shows different fields from the model.

I am thinking something similar to the list views currently in Salesforce.

To help illustrate what I am thinking:

Model for Object A has fields [Name], [Field1],  Field2], ÂField3], ,Field4], ]Field5], 5Field6]

List View 1
bName1], eField1], dField2], lField3]
]Name2], aField1], eField2], iField3]
dName3], [Field1], FField2], [Field3]
eName4], /Field1],  Field2], ÂField3]

List View 2
Name1], rField4], ]Field5], ]Field6]
 Name2], ,Name3], 6Field4], aField5], eField6]
5Name4], lField4], [Field5], FField6]

I thought this would be possible by just adding a second Standard List View, but it does not seem to be working from me, and I am not seeing much in the tutorials that does not require JavaScript.

Any help is greatly appreciated. Thanks!

Sean,

I think your best bet is to create two different tables on the same model, and conditionly render them based on a ui-only picklist field (where you store the names of your views) that you put above the table.


You could add a tab set and put a table in each tab of the tab set then set it to display the tabs as a list.


Thanks Matt, that will work. I really appreciate the quick reply.


Yes! I like Raymond’s idea even better. Makes it cleaner on the builder side.