CGrid:Optimize
The Optimize method adjusts column widths to accommodate their cell contents. This method differs from BestFit by disregarding column visibility inside the grid window.
CGrid:Optimize()
The following script adjusts the grid to best fit over all column widths:
|
-- create a CGrid object |
-- assemble the grid |
|
|
-- optimize the width over all columns |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.