Skip to content

Commit 94b15d3

Browse files
committed
Add json for spec
1 parent 0088477 commit 94b15d3

1 file changed

Lines changed: 80 additions & 0 deletions

File tree

cypress/fixtures/flows/dashboard-tables.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,5 +317,85 @@
317317
"groupBg": "#ffffff",
318318
"groupOutline": "#cccccc"
319319
}
320+
},
321+
{
322+
"id": "dashboard-ui-table-dates-inject",
323+
"type": "inject",
324+
"z": "node-red-tab-tables",
325+
"name": "date rows",
326+
"props": [
327+
{
328+
"p": "payload"
329+
}
330+
],
331+
"repeat": "",
332+
"crontab": "",
333+
"once": true,
334+
"onceDelay": 0.1,
335+
"topic": "",
336+
"payload": "[{\"dt\":1749988800000,\"d\":1749988800000,\"t\":1749988800000,\"raw\":1749988800000}]",
337+
"payloadType": "json",
338+
"x": 300,
339+
"y": 560,
340+
"wires": [
341+
[
342+
"dashboard-ui-table-dates"
343+
]
344+
]
345+
},
346+
{
347+
"id": "dashboard-ui-table-dates",
348+
"type": "ui-table",
349+
"z": "node-red-tab-tables",
350+
"group": "dashboard-ui-group",
351+
"name": "Dates",
352+
"label": "",
353+
"action": "replace",
354+
"order": 0,
355+
"width": 0,
356+
"height": 0,
357+
"maxrows": 0,
358+
"passthru": false,
359+
"autocols": false,
360+
"selectionType": "none",
361+
"columns": [
362+
{
363+
"title": "Datetime",
364+
"key": "dt",
365+
"keyType": "key",
366+
"type": "datetime",
367+
"width": "",
368+
"align": "start"
369+
},
370+
{
371+
"title": "Date",
372+
"key": "d",
373+
"keyType": "key",
374+
"type": "date",
375+
"width": "",
376+
"align": "start"
377+
},
378+
{
379+
"title": "Time",
380+
"key": "t",
381+
"keyType": "key",
382+
"type": "time",
383+
"width": "",
384+
"align": "start"
385+
},
386+
{
387+
"title": "Raw",
388+
"key": "raw",
389+
"keyType": "key",
390+
"type": "text",
391+
"width": "",
392+
"align": "start"
393+
}
394+
],
395+
"x": 520,
396+
"y": 560,
397+
"wires": [
398+
[]
399+
]
320400
}
321401
]

0 commit comments

Comments
 (0)