Changes for page RealtimeLivetable

Last modified by Vincent Massol on 2024/02/26 17:54

<
From version < 40.5 >
edited by Marius Dumitru Florea
on 2020/05/12 16:03
To version < 40.6 >
edited by Marius Dumitru Florea
on 2020/05/12 16:03
>
Change comment: There is no comment for this version

Summary

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:

Get Connected