Skip to content

Instantly share code, notes, and snippets.

@browniefed
Created January 25, 2014 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save browniefed/8624585 to your computer and use it in GitHub Desktop.
Save browniefed/8624585 to your computer and use it in GitHub Desktop.
[{"actualDataType":"string","category":2,"controlTypeId":4,"dataType":"string","dataTypeId":2,"documentFieldId":1,"enumType":"","field":"documentKey","hidden":false,"id":255,"isSynchronizeField":false,"isWorkflowField":false,"label":"ID","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":6,"triggerSuspect":false,"userConfigurable":true,"template":"<a href=\"\" on-click=\"openItemTab\" data-field=\"id\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}</a>"},{"actualDataType":"ItemType","category":2,"custom":false,"dataType":"Lookup","dataTypeId":14,"documentFieldId":117,"enumType":"","field":"documentType","hidden":false,"id":253,"isSynchronizeField":false,"isWorkflowField":false,"label":"Item Type","mappedForImport":false,"options":[{"description":"","display":"Feature","displayPlural":"Features","documentTypeKey":"FEAT","facets":[{"documentTypeId":23,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":23,"facet":"TAGS","isSyncedFacet":false},{"documentTypeId":23,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":23,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":23,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":23,"facet":"ATTACHMENTS","isSyncedFacet":false},{"documentTypeId":23,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false}],"fieldList":[],"id":23,"image":"website_blue.png","refId":2,"scopeId":2},{"description":"","display":"Use Case","displayPlural":"Use Cases","documentTypeKey":"UC","facets":[{"documentTypeId":25,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":25,"facet":"TAGS","isSyncedFacet":false},{"documentTypeId":25,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":25,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false},{"documentTypeId":25,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":25,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":25,"facet":"ATTACHMENTS","isSyncedFacet":false}],"fieldList":[],"id":25,"image":"edit.png","refId":2,"scopeId":2},{"description":"","display":"Requirement","displayPlural":"Requirements","documentTypeKey":"REQ","facets":[{"documentTypeId":24,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":24,"facet":"ATTACHMENTS","isSyncedFacet":false},{"documentTypeId":24,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":24,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":24,"facet":"TAGS","isSyncedFacet":false},{"documentTypeId":24,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":24,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false}],"fieldList":[],"id":24,"image":"website.png","refId":2,"scopeId":2},{"description":"","display":"Standard","displayPlural":"Standards","documentTypeKey":"STD","facets":[{"documentTypeId":40,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false},{"documentTypeId":40,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":40,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":40,"facet":"ATTACHMENTS","isSyncedFacet":false},{"documentTypeId":40,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":40,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":40,"facet":"TAGS","isSyncedFacet":false}],"fieldList":[],"id":40,"image":"page_white_stack.png","refId":2,"scopeId":2},{"category":"PROGRESSABLE","description":"","display":"Defect","displayPlural":"Defects","documentTypeKey":"BUG","facets":[{"documentTypeId":27,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":27,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":27,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":27,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false},{"documentTypeId":27,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":27,"facet":"ATTACHMENTS","isSyncedFacet":false}],"fieldList":[],"id":27,"image":"bug.png","refId":2,"scopeId":2},{"category":"TEST_CASE","description":"","display":"Test Case","displayPlural":"Test Cases","documentTypeKey":"TC","facets":[{"documentTypeId":26,"facet":"TAGS","isSyncedFacet":false},{"documentTypeId":26,"facet":"RELATIONSHIPS","isSyncedFacet":false},{"documentTypeId":26,"facet":"ATTACHMENTS","isSyncedFacet":false},{"documentTypeId":26,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":26,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false},{"documentTypeId":26,"facet":"HISTORY","isSyncedFacet":false}],"fieldList":[],"id":26,"image":"test_case.png","refId":2,"scopeId":2},{"description":"","display":"Change Request","displayPlural":"Change Requests","documentTypeKey":"CR","facets":[{"documentTypeId":28,"facet":"CHANGE_REQUESTS","isSyncedFacet":false},{"documentTypeId":28,"facet":"ACTIVITIES","isSyncedFacet":false},{"documentTypeId":28,"facet":"SYNCHRONIZED_ITEMS","isSyncedFacet":false},{"documentTypeId":28,"facet":"HISTORY","isSyncedFacet":false},{"documentTypeId":28,"facet":"URLS","isSyncedFacet":false},{"documentTypeId":28,"facet":"ATTACHMENTS","isSyncedFacet":false}],"fieldList":[],"id":28,"image":"lightbulb.png","refId":2,"scopeId":2}],"readOnly":true,"required":true,"sortOrder":4,"triggerSuspect":false,"userConfigurable":true,"template":"<img decorator=\"celleditor\" src=\"img/tree/{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.image}}\">"},{"actualDataType":"boolean","category":2,"custom":false,"dataType":"boolean","dataTypeId":8,"documentFieldId":119,"enumType":"","field":"locked","hidden":false,"id":254,"isSynchronizeField":false,"isWorkflowField":false,"label":"Locked","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":5,"triggerSuspect":false,"userConfigurable":true,"template":"{{#<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n <img src=\"img/16/lock_15.png\" title=\"Locked By {{lockedBy.name}}\" decorator=\"celleditor\">\r\n{{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}"},{"actualDataType":"string","dataType":"string","dataTypeId":2,"documentFieldId":2,"enumType":"","field":"name","hidden":false,"id":187,"isSynchronizeField":true,"isWorkflowField":false,"label":"Name","mappedForImport":false,"readOnly":false,"required":true,"sortOrder":3,"triggerSuspect":true,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" >\r\n {{#<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{^<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group editing overflow-cell {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\" >\r\n <input decorator=\"celleditor\" type=\"text\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\" maxlength=\"255\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0 && (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] +'')}}\r\n {{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0 || ! (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] + '')}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group overflow-cell editing {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\">\r\n <input decorator=\"celleditor\" type=\"text\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\" maxlength=\"255\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n\r\n"},{"actualDataType":"User","category":2,"dataType":"Lookup","dataTypeId":6,"documentFieldId":12,"enumType":"","field":"modifiedBy","hidden":false,"id":264,"isSynchronizeField":false,"isWorkflowField":false,"label":"Modified By","mappedForImport":false,"options":[],"readOnly":true,"required":true,"sortOrder":15,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}</span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name}}\" type=\"text\" />\r\n <span class=\"add-on\"><i class=\"icon-search\"></i></span>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{rows[rowIndex].customFields[customFieldIndex].display}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n <input value=\"{{rows[rowIndex].customFields[customFieldIndex].display}}\" type=\"text\" tabindex=\"-1\" readonly/>\r\n <a class=\"add-on\" href=\"#\"><i class=\"icon-search\"></i></a>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"date","category":2,"dataType":"date","dataTypeId":5,"documentFieldId":10,"enumType":"","field":"modifiedDate","hidden":false,"id":265,"isSynchronizeField":false,"isWorkflowField":false,"label":"Modified Date","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":16,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span class=\"overflow-cell\" decorator=\"celleditor\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n {{# <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> && <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> !== null}}\r\n {{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n\r\n {{# !<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" data-field=\"fieldValues[0]\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"fieldValues\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"fieldValues\" value=\"{{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n"},{"actualDataType":"Lookup","dataType":"Lookup","dataTypeId":4,"documentFieldId":4,"enumType":"","field":"status","hidden":false,"id":220,"isSynchronizeField":false,"isWorkflowField":false,"label":"Status","lookupTypeId":63,"mappedForImport":false,"options":[{"id":292,"isDefault":true,"name":"Draft","sortOrder":1},{"color":"9CE78C","id":293,"isDefault":false,"name":"Approved","sortOrder":2},{"id":294,"isDefault":false,"name":"Completed","sortOrder":3},{"color":"E39191","id":295,"isDefault":false,"name":"Rejected","sortOrder":4}],"readOnly":false,"required":false,"sortOrder":6,"triggerSuspect":true,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"cell-lookup overflow-cell\">\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <select decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" on-change=\"fixSelectValue\" data-column-index=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.id}}\">\r\n {{# columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n <option value=\"{{id}}\">{{name}}</option>\r\n {{/ columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n </select>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n {{#columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n {{#rows[rowIndex].customFields[customFieldIndex].fieldValues[0] == id}}\r\n <span class=\"cell-lookup overflow-cell\" decorator=\"celleditor\">\r\n {{name}}\r\n </span>\r\n {{/}}\r\n {{/columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n\r\n {{^rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n </span>\r\n {{/rows.rowIndex.customFields.customFieldIndex.fieldValues[0]}}\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <select decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\" >\r\n {{# columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n <option value=\"{{id}}\">{{name}}</option>\r\n {{/ columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n </select>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"string","category":2,"custom":false,"dataType":"string","dataTypeId":2,"documentFieldId":118,"enumType":"","field":"sequence","hidden":true,"id":251,"isSynchronizeField":false,"isWorkflowField":false,"label":"Heading","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":1,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" >\r\n {{#<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{^<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group editing overflow-cell {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\" >\r\n <input decorator=\"celleditor\" type=\"text\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\" maxlength=\"255\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0 && (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] +'')}}\r\n {{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0 || ! (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] + '')}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group overflow-cell editing {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\">\r\n <input decorator=\"celleditor\" type=\"text\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\" maxlength=\"255\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n\r\n"},{"actualDataType":"integer","category":2,"custom":false,"dataType":"string","dataTypeId":1,"documentFieldId":116,"enumType":"","field":"id","hidden":true,"id":252,"isSynchronizeField":false,"isWorkflowField":false,"label":"API ID","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":3,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{#<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{^<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group editing overflow-cell {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\">\r\n <input decorator=\"celleditor\" data-column-index=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" type=\"text\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\" maxlength=\"255\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0 && (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] +'')}}\r\n {{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0 || ! (rows[rowIndex].customFields[customFieldIndex].fieldValues[0] + '')}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"control-group overflow-cell editing {{# validator.errorCells.indexOf(rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->') !== -1}}error{{/end validator}}\">\r\n <input decorator=\"celleditor\" type=\"text\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\" maxlength=\"255\" data-column-index=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\">\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n\r\n"},{"actualDataType":"User","category":2,"custom":false,"dataType":"Lookup","dataTypeId":6,"documentFieldId":120,"enumType":"","field":"lockedBy","hidden":true,"id":258,"isSynchronizeField":false,"isWorkflowField":false,"label":"Locked By","mappedForImport":false,"options":[],"readOnly":true,"required":true,"sortOrder":9,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}</span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name}}\" type=\"text\" />\r\n <span class=\"add-on\"><i class=\"icon-search\"></i></span>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{rows[rowIndex].customFields[customFieldIndex].display}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n <input value=\"{{rows[rowIndex].customFields[customFieldIndex].display}}\" type=\"text\" tabindex=\"-1\" readonly/>\r\n <a class=\"add-on\" href=\"#\"><i class=\"icon-search\"></i></a>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"date","category":2,"custom":false,"dataType":"date","dataTypeId":5,"documentFieldId":121,"enumType":"","field":"lockedDate","hidden":true,"id":259,"isSynchronizeField":false,"isWorkflowField":false,"label":"Last Locked","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":10,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span class=\"overflow-cell\" decorator=\"celleditor\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n {{# <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> && <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> !== null}}\r\n {{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n\r\n {{# !<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" data-field=\"fieldValues[0]\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"fieldValues\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"fieldValues\" value=\"{{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n"},{"actualDataType":"User","category":2,"dataType":"Lookup","dataTypeId":6,"documentFieldId":11,"enumType":"","field":"createdBy","hidden":true,"id":262,"isSynchronizeField":false,"isWorkflowField":false,"label":"Created By","mappedForImport":false,"options":[],"readOnly":true,"required":true,"sortOrder":13,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}</span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name}}\" type=\"text\" />\r\n <span class=\"add-on\"><i class=\"icon-search\"></i></span>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{rows[rowIndex].customFields[customFieldIndex].display}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" on-click=\"openUserSelector\" data-value=\"id\" data-bind=\"display:name\" data-field=\"fieldValues[0]\">\r\n <input value=\"{{rows[rowIndex].customFields[customFieldIndex].display}}\" type=\"text\" tabindex=\"-1\" readonly/>\r\n <a class=\"add-on\" href=\"#\"><i class=\"icon-search\"></i></a>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"date","category":2,"dataType":"date","dataTypeId":5,"documentFieldId":9,"enumType":"","field":"createdDate","hidden":true,"id":263,"isSynchronizeField":false,"isWorkflowField":false,"label":"Created Date","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":14,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span class=\"overflow-cell\" decorator=\"celleditor\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n {{# <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> && <!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> !== null}}\r\n {{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n\r\n {{# !<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{formatDate(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->)}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" data-field=\"fieldValues[0]\" class=\"overflow-cell\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"editing control-group overflow-cell\">\r\n <div class=\"input-append date\" on-click=\"openDatePrompt\" data-field=\"fieldValues\">\r\n <input type=\"text\" decorator=\"celleditor\" on-change=\"dateChange\" data-field=\"fieldValues\" value=\"{{formatDate(parseInt(rows[rowIndex].customFields[customFieldIndex].fieldValues[0]))}}\" title=\"{{validator.errorMessages[rowIndex + '_<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->']}}\"/>\r\n <span class=\"add-on\"><i class=\"icon-th\"></i></span>\r\n </div>\r\n </div>\r\n {{/}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n"},{"actualDataType":"Project","category":2,"custom":false,"dataType":"Project","dataTypeId":15,"documentFieldId":122,"enumType":"","field":"project","hidden":true,"id":266,"isSynchronizeField":false,"isWorkflowField":false,"label":"Project","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":17,"triggerSuspect":false,"userConfigurable":true,"template":"<span decorator=\"celleditor\" class=\"overflow-cell\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name}}</span>"},{"actualDataType":"text","controlTypeId":3,"dataType":"text","dataTypeId":3,"documentFieldId":3,"enumType":"","field":"description","hidden":true,"id":189,"isSynchronizeField":true,"isWorkflowField":false,"label":"Description","mappedForImport":false,"readOnly":false,"required":false,"sortOrder":4,"triggerSuspect":true,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">{{{stripHtml(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label)}}}</span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" data-column=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" on-click=\"openEditor\" >\r\n <input type=\"text\" value=\"Click to edit\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" readonly/>\r\n <a href=\"#\" class=\"add-on\"><i class=\"icon-pencil\"></i></a>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"fieldValues[0]\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{{stripHtml(rows[rowIndex].customFields[customFieldIndex].fieldValues[0])}}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" data-field=\"fieldValues[0]\" data-column=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" on-click=\"openEditor\">\r\n <input type=\"text\" value=\"Click to edit\" data-field=\"fieldValues[0]\" tabindex=\"-1\" readonly/>\r\n <a class=\"add-on\" href=\"#\"><i class=\"icon-pencil\"></i></a>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n"},{"actualDataType":"string","category":2,"dataType":"string","dataTypeId":2,"documentFieldId":146,"enumType":"","field":"globalId","hidden":true,"id":338,"isSynchronizeField":false,"isWorkflowField":false,"label":"Global ID","mappedForImport":false,"readOnly":true,"required":true,"sortOrder":2,"triggerSuspect":false,"userConfigurable":false,"template":"<a href=\"\" on-click=\"openItemTab\" data-field=\"id\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}</a>"},{"actualDataType":"text","controlTypeId":2,"custom":true,"dataType":"text","dataTypeId":3,"defaultTemplateId":0,"documentFieldId":167,"editXtype":"textareafield","enumType":"","field":"kjkj","formXtype":"jtextrofield","gridXtype":"jtextgridcolumn","hidden":true,"id":530,"isSynchronizeField":false,"isWorkflowField":false,"label":"kjjk","mappedForImport":false,"readOnly":false,"required":false,"sortOrder":9,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{#<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{# !<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\r\n </div>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"celleditor-textarea-edit control-group overflow-cell editing\">\r\n <textarea decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" type=\"text\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\"></textarea>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{#rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{/}}\r\n {{# !rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </div>\r\n {{/celleditor.editingRow}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"celleditor-textarea-edit control-group overflow-cell editing\">\r\n <textarea decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\"></textarea>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"text","controlTypeId":3,"custom":true,"dataType":"text","dataTypeId":3,"defaultTemplateId":2,"documentFieldId":166,"editXtype":"jckfield","enumType":"","field":"temtest","formXtype":"jhtmlrofield","gridXtype":"jrichtextgridcolumn","hidden":true,"id":529,"isSynchronizeField":false,"isWorkflowField":false,"label":"TemTest","mappedForImport":false,"readOnly":false,"required":false,"sortOrder":8,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\">{{{stripHtml(<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label)}}}</span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" data-column=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" on-click=\"openEditor\" >\r\n <input type=\"text\" value=\"Click to edit\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" readonly/>\r\n <a href=\"#\" class=\"add-on\"><i class=\"icon-pencil\"></i></a>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\" data-field=\"fieldValues[0]\">\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length !== 0}}\r\n {{{stripHtml(rows[rowIndex].customFields[customFieldIndex].fieldValues[0])}}}\r\n {{/}}\r\n {{# rows[rowIndex].customFields[customFieldIndex].fieldValues.length === 0}}\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n {{/}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <div class=\"input-append overflow-cell editing\" decorator=\"celleditor\" data-field=\"fieldValues[0]\" data-column=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" on-click=\"openEditor\">\r\n <input type=\"text\" value=\"Click to edit\" data-field=\"fieldValues[0]\" tabindex=\"-1\" readonly/>\r\n <a class=\"add-on\" href=\"#\"><i class=\"icon-pencil\"></i></a>\r\n </div>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}\r\n"},{"actualDataType":"boolean","dataType":"boolean","dataTypeId":8,"documentFieldId":104,"enumType":"","field":"flag5","hidden":true,"id":528,"isSynchronizeField":false,"isWorkflowField":false,"label":"flag5","mappedForImport":false,"readOnly":false,"required":false,"sortOrder":7,"triggerSuspect":false,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\">{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ --> ? \"Yes\" : \"No\"}}</span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <input decorator=\"celleditor\" type=\"checkbox\" class=\"celleditor-boolean\" checked=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->}}\">\r\n {{/}}\r\n{{/}}\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{#columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\">{{(rows[rowIndex].customFields[customFieldIndex].fieldValues[0] == 'T' ? \"Yes\" : \"No\")}}</span>\r\n {{/}}\r\n\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <input decorator=\"celleditor\" class=\"celleditor-boolean\" data-field=\"fieldValues[0]\" type=\"checkbox\" on-click=\"checkboxValueTranslator\" checked=\"{{(rows[rowIndex].customFields[customFieldIndex].fieldValues[0] == 'T' ? true : false)}}\">\r\n {{/}}\r\n {{/}}\r\n {{/customFields}}\r\n{{/}}"},{"actualDataType":"Lookup","dataType":"Lookup","dataTypeId":4,"documentFieldId":5,"enumType":"","field":"priority","hidden":true,"id":219,"isSynchronizeField":false,"isWorkflowField":false,"label":"Priority","lookupTypeId":62,"mappedForImport":false,"options":[{"id":300,"isDefault":false,"name":"Low","sortOrder":1},{"id":301,"isDefault":false,"name":"Medium","sortOrder":2},{"id":302,"isDefault":false,"name":"High","sortOrder":3}],"readOnly":false,"required":false,"sortOrder":5,"triggerSuspect":true,"userConfigurable":true,"template":"{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom !== true}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <span decorator=\"celleditor\" class=\"cell-lookup overflow-cell\">\r\n {{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.name || 'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n </span>\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <select decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" on-change=\"fixSelectValue\" data-column-index=\"<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->.id}}\">\r\n {{# columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n <option value=\"{{id}}\">{{name}}</option>\r\n {{/ columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n </select>\r\n {{/celleditor.editingRow}}\r\n{{/}}\r\n\r\n\r\n\r\n{{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].custom === true}}\r\n {{# rows[rowIndex].customFields:customFieldIndex}}\r\n {{# columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].documentFieldId == fieldId}}\r\n {{# ((celleditor.editingRow == rowIndex && !editable) || (celleditor.editingRow != rowIndex)) && ((celleditor.editingRow != rowIndex || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) || (celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'name' && columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field != 'description'))) || (celleditor.editingRow == rowIndex && documentType.category != 'SECTION')) && !((editable && celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n {{#columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n {{#rows[rowIndex].customFields[customFieldIndex].fieldValues[0] == id}}\r\n <span class=\"cell-lookup overflow-cell\" decorator=\"celleditor\">\r\n {{name}}\r\n </span>\r\n {{/}}\r\n {{/columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n\r\n {{^rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\r\n <span decorator=\"celleditor\" class=\"overflow-cell\">\r\n {{'No ' + columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].label}}\r\n </span>\r\n {{/rows.rowIndex.customFields.customFieldIndex.fieldValues[0]}}\r\n {{/celleditor.editingRow}}\r\n {{# editable && ((celleditor.editingRow == rowIndex && !columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].readOnly) && (celleditor.editingRow == rowIndex && documentType.category != 'SECTION') ||(celleditor.editingRow == rowIndex && (documentType.category == 'SECTION' && (columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'name' || columns[<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->].field == 'description'))))}}\r\n <select decorator=\"celleditor\" data-celleditor-ignore=\"ENTER\" data-field=\"<!-- ~~COLUMN_FIELD_PLACEHOLDER~~ -->\" value=\"{{rows[rowIndex].customFields[customFieldIndex].fieldValues[0]}}\" >\r\n {{# columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n <option value=\"{{id}}\">{{name}}</option>\r\n {{/ columns.<!-- ~~COLUMN_INDEX_PLACEHOLDER~~ -->.options}}\r\n </select>\r\n {{/celleditor.editingRow}}\r\n {{/ end fieldId check}}\r\n {{/customFields}}\r\n{{/}}"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment