Grid Column
The Grid Column part represents a column in a Grid. This part is accessible only from the Grid part.
Grid Column Properties
The Grid Column part has the following properties:
alignHorizontal
Use the alignHorizontal property to specify how the information in the data cell is aligned horizontally. Valid values are:
•<Default> (browser default)
•Left
•Center
•Right
In addition, you can specify other alignments supported by your browser by typing the appropriate string directly into the field.
This property is equivalent to the align attribute of the HTML td tag.
alignVertical
Use the alignVertical property to specify how the material in the data cell is aligned vertically. Valid values are:
•<Default> (browser default)
•Top
•Middle
•Bottom
In addition, you can specify other alignments supported by your browser by typing the appropriate string directly into the field.
This property is equivalent to the valign attribute of the HTML td tag.
areHeaderCells
Use the areHeaderCells property to indicate whether the cells in the row or column are header cells. If you set this property to true, VA Smalltalk generates the th element, and the text in the cells is highlighted.
eventHandlers
Use the eventHandlers property to define any event handlers for this part. Event handlers provide the ability to detect and react to events that occur while an HtmlPage is loaded in a Web browser. An example of an event handler is mouse over, where you can specify when the mouse moves over an HTML element, something happens, usually a JavaScript is executed..
extraAttributes
Use the extraAttributes property to specify any additional HTML attributes that you want included in the HTML tagging generated by the part. You can use this property to include HTML attributes that are not directly supported by VA Smalltalk.
partName
In the Part name field, type the name you want to use to describe the part. For non-visual parts, this text appears under the icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VA Smalltalk generates a unique name based on the class name of the part.
width
Use the width property to specify the width of the grid. The units used are determined by the widthUnits property.
widthUnits
Use the widthUnits property to specify the units used by the width property. Select either Percent and Pixels. The default is Pixels.
Last modified date: 01/29/2015