A grid component [label=“”] has an invalid value for “value” and “totalCount”. “startIndex” must not be greater than “totalCount”...

I get the above error message when selecting the last item in a grid if the item is on page 2+ of the grid.

The error is acknowledged here and supposedly fixed in Appian 17.3: https://community.appian.com/support/w/kb/587/kb-1349-startindex-must-not-be-greater-than-totalcount-error-thrown-when-deleting-the-last-application-in-the-application-list-in-design

However I am running Appian 17.3 and the error still persists.

  Discussion posts and replies are publicly visible

Parents
  • Hello,

    Below are the scenarios you can look into:
    1. If your are pulling the values from a view and if primary key of the view has duplicate values then this error occurs. If this is the issue make a primary as unique by generating a number in additional column and use that as primary key.
    2. Your grid and query entity should be in with, it should refresh on each click.
    3.If you are using filters make sure that each filter contains a!save(local!PagingInfo.startIndex,1) by making start index as one for each query this would refresh the grid.
Reply
  • Hello,

    Below are the scenarios you can look into:
    1. If your are pulling the values from a view and if primary key of the view has duplicate values then this error occurs. If this is the issue make a primary as unique by generating a number in additional column and use that as primary key.
    2. Your grid and query entity should be in with, it should refresh on each click.
    3.If you are using filters make sure that each filter contains a!save(local!PagingInfo.startIndex,1) by making start index as one for each query this would refresh the grid.
Children
No Data