Customizing the DataGrid

You can transform a DataGrid component horizontally and vertically during authoring and run time. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At run time, use the setSize() method or applicable properties, such as width, height, scaleX and scaleY. If there is no horizontal scroll bar, column widths adjust proportionally. If column (and therefore, cell) size adjustment occurs, text in the cells may be clipped.

Related topics