Documentation

Options

Options class for handling grid options.

List of methods

MethodDescription
[link=5928179]__construct[/link]Constructor for Options class.
[link=5928183]getId[/link]Returns grid ID.
[link=5928199]save[/link]Saves specified options.
[link=5927677]getSorting[/link]Returns array with current grid sorting.
[link=5927637]setColumnsSizes[/link]Sets width of grid columns.
[link=5927641]setPageSize[/link]Sets page size.
[link=5927645]setCustomNames[/link]Updates grid column names.
[link=5927649]resetExpandedRows[/link]Resets all saved expanded row IDs.
[link=5927653]setExpandedRows[/link]Sets expanded row IDs.
[link=5927657]getExpandedRows[/link]Returns array with expanded row IDs.
[link=5927661]setCollapsedGroups[/link]Sets collapsed groups.
[link=5927665]getCollapsedGroups[/link]Returns array with collapsed groups IDs.
[link=5927669]resetView[/link]Resets current settings for view without ID.
[link=5927673]deleteView[/link]Deletes current settings for view by ID.

© «Bitrix24», 2001-2024
Up