Grid display batch size

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