Responsive list with headers and click to open responsive detail of items from table


#1

Hello,

I am trying to create a list of tasks which when clicked on will expand and display the details of the task. I was hoping to use another list to contain the details which could be responsive to the screen they are shown on. I can’t figure this out!! please can someone help? (See attached graphic)


#2

You need to have custom backend to get this kind of data or you need to write the JSON manually into the Data sheets. Basically Data sheet needs one column containing array and using that array in the Items array setting for nested List/Grid element.

For expanding list item just create two states; one for expanded and one for “normal” and then switch between states with a change state interaction.

Something like this (Click arrow to expand/hide the embedded list): https://neonto.cloud/preview/g9w4ejl5/

Here’s the project file: https://s3.amazonaws.com/sc.neonto.com/example_projects/ListInList.rsproj.zip


#3

So I converted the data into an array which now sits in a column:

[{“task_Sequence”:“5”},{“task_Name”:“555555”},{“SOP_Link”:“5”},{“time_Taken_To_Complete”:“5”},{“Comment”:“5”},{“complete_Task_By_Date_Time”:“5”},{“Acceptance_Criteria”:“5”},{“task_Type”:“5”},{“Client”:“5”},{“is_Task_Active”:“5”},{“Team”:“5”},{“task_Early_Warning_Hours”:“55”}]

When I try and ad this to a list it jumps give me the full array as text. I see in the list in lists example each item in the array is named the same. do I need to do this?


#4

The JSON does not look right. Check the JSON formatting e.g. from my example:

[{“day”:“Monday”,“close”:“22:30:00”,“open”:“10:00:00”},{“day”:“Tuesday”,“close”:“22:30:00”,“open”:“11:00:00”},{“day”:“Wedesday”,“close”:“21:30:00”,“open”:“09:00:00”},{“day”:“Thursday”,“close”:“22:30:00”,“open”:“11:00:00”},{“day”:“Friday”,“close”:“22:30:00”,“open”:“12:00:00”},{“day”:“Saturday”,“close”:“23:30:00”,“open”:“12:00:00”},{“day”:“Sunday”,“close”:“23:30:00”,“open”:“12:00:00”}]

When the JSON is in proper format you can double click and “open” it to details view in Data sheet view.

Also make sure you sure you’ve populated the list with Items array (Not Data sheet) and the Column Data type is set to JSON?