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.
Discussion posts and replies are publicly visible
Hi , can you share your code. I think you did not configure value parameter for the grid, also pagination is not working
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
Try to use fv!pagingInfo instead local variable.Please go through below link ,
I think you issue looks like more that the paginginfo is in general working. its complaining that you have "no data" (Total Count is 0) and you try to start at the 11th item in your data(array). that doesn't fit.Can You insert your code via "Insert" (below the writing box)- "insert code" function ?
I can't insert code due to some restriction