Flex DataGrid Column Width

前端 未结 3 1001
臣服心动
臣服心动 2021-01-07 07:30

In my flex app I store the widths and visiblility of columns in an xml file. When the app loads it reads from the xml file and sets he columns values as applicable:

3条回答
  •  感情败类
    2021-01-07 07:59

    Is you horizontalScrollPolicy set to false on the datagrid?

    "If the DataGrid's horizontalScrollPolicy property is false, all visible columns must fit in the displayable area, and the DataGrid will not always honor the width of the columns if the total width of the columns is too small or too large for the displayable area."

    http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#width

提交回复
热议问题