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
You can see the pageSize config under the gridField and you can provide the value of 2 to that configuration.
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.
Thank you so much i got it.
Thank you so much i got it
Harshit Bumb said:have to define pagingInfoValue
the other parts are correct but this one is actually included within the dataSubset.
© 2022 Appian. All rights reserved.