I am trying to display a grid on the record dashboard with a batch size of 10
a!pagingInfo( startIndex: 1, batchSize: 10 )
but get an error on the summary view of the record dashboard as follows:
A grid component [label=“Sess”] has an invalid value for “columns” and “value”. All “data” arrays must not contain more items than the specified “batchSize”, but “batchSize” was 10 and the largest column data array had 19 items. (APNX-1-4198-000)
When i change the code to batchSize: -1 then it shows the entire grid on the same page. But I want it in pages of 10.
Any help would be appreciated. TIA!!
Discussion posts and replies are publicly visible
Hi Apoorva,
You need to use here the combination of load() and with() function.
The below link has provided the same example which i think you are looking,
https://docs.appian.com/suite/help/18.2/recipe_display_array_of_data_in_a_grid.html
Regards
Abhay
Check recipe for this SAIL Recipe-Grid.
Use the totalCount correctly.