This commit is contained in:
2020-08-06 22:59:33 +00:00
parent 66ec595b7d
commit 08a1586ef3
2 changed files with 10 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
javascript:
todo: open-object-handler.js deal with some utility types:
//TODO: FORMCUSTOMIZATION
//TODO: LIST VIEW
//TODO: Items that are able to be opened from the adm-history form
//need to decide to support them and if not then need to modify the message below

View File

@@ -737,7 +737,15 @@ function buildRecords(listData, columndefinitions) {
column.i != 0
) {
//yes so provide the ot (openable type) info needed for the grid to make this openable
openableAyaType = column.v;
// console.log("Openable type:", column);
switch (column.v) {
//Not openable types
case 18: //DataListView
break;
default:
openableAyaType = column.v;
break;
}
}
// console.log("gz-data-table:buildRecords:enumtype column is ", column);
// //v contains the type number and i contains the id of the record if it's an aytype enum openable