I'm trying to add a new admin option to kanban view items in the layout manager. Below "large font size" I want it to say "column" so that the smaller fields can be displayed in a more organised way on the same line.
I have found the following code on github at espocrm/kanban.js at 124cce55bd598362e67fa4c3d347b84b753b80dc ยท espocrm/espocrm (github.com), and I've changed it to look like this...
However I can't find where to register this new view since it's not directly an entity as described here. How can I register this new view?
I have found the following code on github at espocrm/kanban.js at 124cce55bd598362e67fa4c3d347b84b753b80dc ยท espocrm/espocrm (github.com), and I've changed it to look like this...
Code:
define('custom:views/admin/layouts/kanban', 'views/admin/layouts/list', function (Dep) { return Dep.extend({ dataAttributeList: ['name', 'link', 'align', 'view', 'isLarge', 'colClass'], dataAttributesDefs: { link: {type: 'bool'}, isLarge: {type: 'bool'}, width: {type: 'float'}, align: { type: 'enum', options: ["left", "right"] }, view: { type: 'varchar', readOnly: true }, name: { type: 'varchar', readOnly: true }, colClass: { type: 'enum', options: ["col-md-12", "col-md-4", "col-md-6"] } } }); });
Comment