Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 82: Line 82:
                     field: 'Data Sources',
                     field: 'Data Sources',
                     formatter: function (cell) {
                     formatter: function (cell) {
                         const dct = cell.getData();
                         const sources = cell.getValue();
                         return cell.getValue().map(src => '<span>' + src + '</span>');
                         return sources ? sources.map(src => '<span>' + src + '</span>') : '';
                     }
                     }
                 }
                 }

Revision as of 13:50, 7 June 2022

Development verstion of the DCT List.
Not ready for production!