Personalized Configuration DataGrid2

0
Question Summary I'd like to use a custom configuration attribute to hide a column in a datagrid2 within a listing view. I'm trying to generate the correct JSON using a microflow and include it in the attribute, but it's not being read in the list view. Can you help me find a solution? Example: Hi, I'd like to place a datagrid2 in a listing view and use a custom configuration attribute to hide a column if needed. My idea was to use a microflow to generate the correct JSON and include it in the attribute, but it's not being read in a list view. Examples: Tried using a microflow to generate the correct JSON and include it in the attribute, Issues with listing view configuration, Unable to hide columns using custom attribute.
asked
1 answers
1

Peter,

I created a small sample app that hides and unhides a column in a Datagrid2.  I will include details below.  I am happy to share the sample app if that would be helpful.

 

Domain Model:

image.png

 

Microflow that creates or retrieves configuration object for each user.  This is used to maintain specific configuration for different users.

image.png

 

Page with Datagrid 2

image.png

 

Microflow that is call by button entitled Toggle Visibility First Attribute

image.png

 

Note: this app will hide the column that is currently the first column displayed.

 

Hope that helps,

Mike

answered