所以我们做得很好。
使用 FlexPrintJob 从 XMLListCollection 获取字段以在 Flash Builder 4 AIR 应用程序中打印,并使用其自己的 PrintDataGrid 自定义 PrintView 对象。
<mx:PrintDataGrid id="myDataGrid" width="100%">
<mx:columns>
<!-- "word" is the name of the XML field that prints-->
<mx:DataGridColumn dataField="word" headerText="My Word List" />
</mx:columns>
</mx:PrintDataGrid>
现在我希望能够为用户提供一个选项,以便在每个单词之前的打印输出中添加一个复选框。我应该创建另一个自定义 PrintView 吗?如何将复选框控件(仅用于打印输出,不需要在应用程序本身中)添加到列?