How to Freeze Columns in Result Matrix

“Freeze Columns” is used when a user wants to freeze a column in a result matrix.

Example

Sets the specified columns as frozen.

Calling this method again will replace the previously set frozen columns. If duplicate columns are specified, they are ignored (no error or warning is thrown). All specified columns must be part of the ResultMatrix’s columns. If any column is not part of the ResultMatrix’s columns, an exception is thrown.

def resultMatrix = api.newMatrix() .withColumns('Column1', 'Column2', 'Column3') .withFrozenColumns('Column1') //Column1 will be frozen in the UI

 

Found an issue in documentation? Write to us.