...
Code Block | ||
---|---|---|
| ||
"treeColumns" : [ { "criteria" : "userRole == 'Coordinator'", "fields" : [ { "name" : "description", "width" : 35 }, { "name" : "quantity", "width" : 10 }, { "name" : "collector", "width" : 15 }, { "name" : "collectionDate", "width" : 20 }, { "name" : "status", "width" : 15 } ] }, { "criteria" : "!!userRole && userRole != 'Coordinator'", "fields" : [ { "name" : "description", "width" : 30 }, { "name" : "quantity", "width" : 10 }, { "name" : "collectionDate", "width" : 25 }, { "name" : "position", "width" : 25 }, { "name" : "status", "width" : 10 }, { "name" : "printLabel", "width" : 5 }, { "name" : "closeSpecimen", "width" : 5 } ] } ], |
...