I have a Grid UC that I maintain from time to time and it is giving me an error in the function getPaginEvent
, which should return the event GX
corresponding to the pagination.
How can I solve that?
I have a Grid UC that I maintain from time to time and it is giving me an error in the function getPaginEvent
, which should return the event GX
corresponding to the pagination.
How can I solve that?
The function
grid.getPaginEvent()
was removed in Upgrade 2. The way the grids are paginated was modified, for a more efficient mechanism and the interface was improved, for something easier to use.From Ev3 Upgrade 2 onwards, to paginate a customer render of a grid (User Control) you must use the following function:
grid.changeGridPage(direction)
Where direction can be
'FIRST'
,'PREV'
,'NEXT'
or'LAST'
.Unlike the previous function, which returned the code to embed in HTML, this new function will perform pagination.