TIWCGJQGridOptions.SetGridWidth(Integer,Boolean) Method

Sets a new width to the grid dynamically. The parameters are: new_width is the new width in pixels. shrink (true or false) has the same behavior as shrinkToFit - see options. If this parameter is not set we take the value of shrinkToFit.

Namespace: IWCGJQGrid
public
 procedure SetGridWidth(AWidth: Integer; AShrink: Boolean = False);

Parameters

AWidth
Type: Integer

AShrink
Type: Boolean