PromucFlow_constructor/app/client/cypress/fixtures/tableTextPaginationDsl.json
Vicky Bansal dbc3ca6bdf
feat: Table widget - Configure table data rows count (#5552)
Introduced a new field called as total record count which can be used to disable the pagination controls while having server side pagination. If this value is undefined the conditions will be ignored. The total record count is `total count / page size`, all the parameters need to be bound to the query/API for the functionality to work properly
2021-08-30 14:54:59 +05:30

66 lines
1.7 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1224,
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1254,
"containerStyle": "none",
"snapRows": 33,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"dynamicBindingPathList": [],
"version": 4,
"minHeight": 1292,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"isVisible": true,
"label": "Data",
"widgetName": "Table1",
"tableData": "",
"type": "TABLE_WIDGET",
"isLoading": false,
"parentColumnSpace": 74.125,
"parentRowSpace": 40,
"leftColumn": 0,
"rightColumn": 8,
"topRow": 0,
"bottomRow": 12,
"parentId": "0",
"widgetId": "o3i9y2ya2i",
"dynamicBindingPathList": [],
"serverSidePaginationEnabled": true,
"dynamicTriggerPathList": [
{
"key": "onPageChange"
}
],
"onPageChange": "{{Api1.run(() => showAlert('done'), () => {})}}"
},
{
"isVisible": true,
"text": "Label",
"textStyle": "LABEL",
"textAlign": "LEFT",
"widgetName": "Text1",
"type": "TEXT_WIDGET",
"isLoading": false,
"parentColumnSpace": 74.125,
"parentRowSpace": 40,
"leftColumn": 9,
"rightColumn": 13,
"topRow": 1,
"bottomRow": 2,
"parentId": "0",
"widgetId": "lxzga6xxip"
}
]
}
}