Hi, I am getting this issue when selecting value from dropdown for one particular user at function a!gridField_19r1 [line 71]: A grid component [label=""] 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 17 items.
Discussion posts and replies are publicly visible
Need more details on the exact issue , what's the data you have and where you are getting this error.
Hello shashankr0001
Please share the expression that you have configured and also provide more context on the data.
The error normally signifies the duplicates in a data set. By the looks of it the grid data fetched after dropdown data selection is returning 17 duplicate items. So start with checking the dataset rendering the grid.
I would suggest updating to the modern Paging Grid - it is far more flexible and has better error handling (in general) when a data set has unexpected properties. It looks in your case like you've passed a Paging Info variable with a batch size of 10, but then passed (perhaps the incorrect) data set with 17 rows, which breaks the grid. If you're using a View, you might also want to ensure the column indicated in the CDT as being the "primary key" does not have duplicates across ANY number of rows, as even the modern paging grid displays a similar-looking error if it sees the same primary key used across multiple rows.
Why are you using an old version of the component?
ON the other hand,, I would suggest to check duplicates.