Grid to remain in same page after an action

Certified Associate Developer

Hello,

We have a read only grid with selection enabled. Users could navigate to a page(say 5th page), select certain rows and reassign the task to another user. Once the reassignment is done, the grid lands on the first page. Is there any way we could retain the Grid on the 5th page itself after reassignment. 

TIA.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I think you could set the paging info in a separate local variable at the top of the code.  Have that store the start index and batch size.  You probably need to set refreshOnReferencedVarChange to false, and manually configure exactly how it refreshes. 

    Then, when it's retained after the operation, the form should requery the data from the startIndex retained, and boom you should be on page 5 still.

Reply
  • 0
    Certified Lead Developer

    I think you could set the paging info in a separate local variable at the top of the code.  Have that store the start index and batch size.  You probably need to set refreshOnReferencedVarChange to false, and manually configure exactly how it refreshes. 

    Then, when it's retained after the operation, the form should requery the data from the startIndex retained, and boom you should be on page 5 still.

Children