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 342: Line 342:
                     formatter: function (cell) {
                     formatter: function (cell) {
                         const output = cell.getValue()
                         const output = cell.getValue()
                            .sort((a, b) => fnImages.indexOf(a) - fnImages.indexOf(b))
                             .map(func => '<img class="func-img" src="' + fnImages[func] +
                             .map(func => '<img class="func-img" src="' + fnImages[func] +
                                 '" data-value="' + func +
                                 '" data-value="' + func +

Revision as of 09:23, 6 September 2022

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