Objective Grid: Cells do not resize properly with SetValueRange()

Article ID: 281
Last updated: 11 Jun, 2018
Article ID: 281
Last updated: 11 Jun, 2018
Revision: 3
Views: 2281
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 11 Jun, 2018
by Meltreger B.

Problem


I have specified SetAutoSize(TRUE) and SetWordWrap(TRUE) for cells. Now when I call SetValueRange() for these cells, with a string too large to fit into the cell, the cells don't resize. How can I force this?


Cause



Action


When you fill cells with SetValueRange() you have to resize them by calling ResizeRowHeightsToFit(). Take a look at the class reference for this function.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 281
Last updated: 11 Jun, 2018
Revision: 3
Views: 2281
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 11 Jun, 2018 by Meltreger B.

Others in this category