May 13
和前面的Flex中如何通过设置editable属性创建一个可编辑的DataGrid控件的例子很相似,接下来的例子演示了Flex中,如何通过设置DataGrid控件和DataGridColumn 对象的itemEditor和editorDataField属性,将NumericStepper控件作为DataGrid控件的一个编辑项目。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
和前面的Flex中如何通过设置editable属性创建一个可编辑的DataGrid控件的例子很相似,接下来的例子演示了Flex中,如何通过设置DataGrid控件和DataGridColumn 对象的itemEditor和editorDataField属性,将NumericStepper控件作为DataGrid控件的一个编辑项目。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):