collapse()



This method collapses all rows in a Rich Display File grid configured with row folding.

Parameters:

  • reference to button image - if this parameter is passed, the image is updated with the "expand all" icon (Optional)

Example:

getObj("Grid1").grid.collapse();