Navigation:  Classes > bBrowser >

bBrowser:ResizeColumnAuto()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Changed the width of a column to its optimal width.

Class

bBrowser

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

lResizedA logical value that indicates whether the width of the column was changed.
TRUEThe width of the column was changed.
FALSEThe 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

bBrowser:ColumnResize()

bBrowser:EnableColumnResize()

bBrowser:IsColumnVisible()

bBrowser:ResizeColumn()

bDataColumn:WidthMax

bDataColumn:WidthMin

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_resizecolumnauto.htm