when loading Menu dynamically from the DataSource, Pagination not working.
please find the properties set on Menu
Also the find the DSRequest snapshot inside transformRequest() of DataSource
We could not find properties related to paging (startRow, endRow, "dataFetchMode":"paged" )in DSRequest.
Please let us know if any other property need to be set for enabling paging in Menu
please find the properties set on Menu
Code:
Menu.setDataSource(ListDS.getInstance()); Menu.setDataFetchMode(FetchMode.PAGED); Menu.setDataPageSize(30); Menu.setShowAllRecords(false); Menu.setShowIcons(true);
Code:
In DSRequest not able to { "operationType":"fetch", "dataSource":"isc_ListDS_0", "data":null, "callback":{ "caller":{ }, "methodName":"flatDataLoaded" }, "requestId":"isc_ListDS_0$62716", "bypassCache":true, "showPrompt":true, "$376":'$$BACKREF$$:.operationType.dataSource.data.callback', "originalData":null, "unconvertedDSRequest":{ "operationType":"fetch", "dataSource":"isc_ListDS_0", "data":null, "callback":'$$BACKREF$$:.operationType.dataSource.data.callback', "requestId":"isc_ListDS_0$62716", "bypassCache":true, "showPrompt":true, "$376":'$$BACKREF$$:.operationType.dataSource.data.callback', "originalData":null } }
Please let us know if any other property need to be set for enabling paging in Menu
Comment