Changes for page RealtimeLivetable
Last modified by Vincent Massol on 2024/02/26 17:54
<
>
edited by Marius Dumitru Florea
on 2020/05/12 16:03
on 2020/05/12 16:03
edited by Marius Dumitru Florea
on 2020/05/12 16:03
on 2020/05/12 16:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -259,7 +259,18 @@ 259 259 The displayer modules are responsible for displaying each cell, both when viewing and editing the live table data. They could be implemented as RequireJS modules and the live table configuration would specify which displayer module to use for each column. 260 260 261 261 {{code language="js"}} 262 -test 262 +define('xwiki-livetable-displayer-date', [...], function(...) { 263 + return { 264 + view: function(column, rowData, tableConfig) { 265 + ... 266 + return domElement; 267 + }, 268 + edit: function(column, rowData, tableConfig) { 269 + ... 270 + return domElement; 271 + } 272 + } 273 +}); 263 263 {{/code}} 264 264 265 265 The following displayers are needed: