Kbase 18683: Apptivity 3.0 - How to Remove Row Labels in a Grid
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/03/1999 |
|
SUMMARY:
Users may wish for the abGridView control to display only data
columns, without the numbered row labels at the left of each row. To
effectively remove the row labels, the width of the row labels may be
set to 0. This cannot be done by manually manipulating the grid in
the Design Window; it must be done programmatically.
SOLUTION:
The width of the row labels may be set programmatically using the
method abGridView.setRowLabelsWidth(). This method is called in the
init() method of the form containing the grid.
To set the width of the row labels to 0, edit the source of the form,
find the following line in the init() method, and pass 0 for the int
parameter:
<grid name>.setRowLabelsWidth(abUtil.lp2dp(<int>));
References To Written Documentation:
Apptivity 3.0 API Reference in Apptivity Online Help