5-3. Adding 'feature' sub-tables

Please take a look at this demo page) before reading further. You will see that the data table has an 'Evidence' column, and by clicking that you can view sub-tables with evidence data.

This feature can be added to a data table by adding the 'features' configuration to the data table format. Here is how it gets configured. Let's say you have A, B, C, D, E, E-1, E-2, F, F-1, F-2, G, G-1, G-2 and G-3 columns in your data. You want to show the A, B, C, D, E, F and G columns first, then show E-1, E-2, F-1, F-2, G-1 and G-2 columns in sub-tables when users click the 'View' button. 

This can be done by adding the following to the data table format configuration:

{"top row":["A", "B", "C", "D", "E", "F", "G"],
"features":["E group", "F group","G group"],
"E group":["E-1","E-2"],
"F group":["F-1","F-2"],
"G group":["G-1","G-2"]
}

You can see that 'E group', 'F group' and 'G group' labels don't exist in the data but were created to group the columns in the sub-tables. 

The rendering engine on the research portal will add an "Evidence" column and 'View' buttons in the cells under the column if it finds the 'feature' config in the table format configuration. Sub-tables will be automatically color coded by the rendering engine.