Usage of Load()within with()

Hello Folks,

 

can anybody give me a use case/ scenario where load() function is used within a with() function.

 

Thanks In Advance.

 

Regards,

Amit

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    As stated in this topic already, there shouldn't be any valid use cases for a load() inside of a with(), unlike the opposite scenario, which definitely has its uses. In a paging grid, for example, you have the grid itself saving into pagingInfo variable in the load() and the dataSubset variable re-evaluating in the with() using the pagingInfo.
Reply
  • 0
    Certified Senior Developer
    As stated in this topic already, there shouldn't be any valid use cases for a load() inside of a with(), unlike the opposite scenario, which definitely has its uses. In a paging grid, for example, you have the grid itself saving into pagingInfo variable in the load() and the dataSubset variable re-evaluating in the with() using the pagingInfo.
Children