Skip to main content
February 24, 2022
Question

How To Reset Paging info ?

  • February 24, 2022
  • 17 replies
  • 0 views

Hi Everyone,

I am getting this error for paging

A grid component [label="Search results"] has an invalid value for "value" and "totalCount". "startIndex" must not be greater than "totalCount", but "startIndex" was 11 and "totalCount" was 0.

 

For Paging i am using the below code, 

a!pagingInfo(
startIndex: 1,
batchSize: 5,
sort: a!sortInfo(field: "Id", ascending: false())
)

How to Reset Paging I am not getting solution.

17 replies

gopalk2865
Participating Frequently
February 24, 2022

Hi , can you share your code. I think you did not configure value parameter for the grid, also pagination is not working

February 24, 2022

I have configure value parameter for the grid, problem is I am using Local Variable to save the paging  info like

local!groupWorkPagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: 5,
sort: a!sortInfo(field: "Id", ascending: false())
)

I want to refresh/reset the paging when the value is blank in text field

gopalk2865
Participating Frequently
February 24, 2022

Try to use fv!pagingInfo instead local variable.Please go through below link ,

[View:https://docs.appian.com/suite/help/21.4/read-only-grid-configuration.html]