am new to this, please tell me how to give paging size of 2 in a grid and has to show "<<" like this so that another records has to show
pagingInfo: a!pagingInfo( startIndex: 1, batchSize:2
i gave like this but showing 2 in agrid, but no arrow marks <<
like this i should show 1-2 of somenum > >>
kindly edit?/modify the code
Thanks in advance
Discussion posts and replies are publicly visible
In the gridField, you'll have a parameter pageSize. You can put 2 in front of it.
Or, you can keep the pagingInfo as you have configured it and pass the entire dataSubset to the grid's 'data' parameter. When you do that,l you'll also have to define pagingInfoValue and pagingInfoSaveInto.
Doing this will directly query your data from the DB.
Unknown said:have to define pagingInfoValue
the other parts are correct but this one is actually included within the dataSubset.
© 2023 Appian. All rights reserved.