Purpose
Changed the width of a column to its optimal width.
Class
Type
Method
Syntax
<oBrowser>:ResizeColumnAuto(<uColumn>) Æ lResized
Arguments
<uColumn> | The column whose width is to be changed. Either the column must be contained in the list of the open columns (see also bBrowser:ColumnOpenList) or it must be a group column. The column must be visible (see also bBrowser:IsColumnVisible()). |
Data Type: | String | Symbol | Integer | bDataColumn | bGroupColumn |
Return Value
lResized | A logical value that indicates whether the width of the column was changed. |
TRUE | The width of the column was changed. |
FALSE | The width of the column could not be changed. |
Data Type: | Logic |
Description
bBrowser:ResizeColumnAuto() calculates the width of the column in such a way that the widest visible value within the column is entirely visible. If a group column is passed then all columns of the group are changed so that the broadest visible values are entirely visible in all columns.
If the column width was successfully changed, the callback method bBrowser:ColumnResize() is called.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_resizecolumnauto.htm