Tag: ultragrid

Ultragrid infragistics excel导出导出UltraDropDownList ValueMember而不是DisplayMember

我使用Infragistics.Documents.Excel将UltraGrid导出到Excel。 网格包含各种各样的列,其中一个types是绑定到数据源的DropDownListtypes。 但是,当它被导出到Excel时,它显示的列很好,但是excel字段中的数据是ValueMember,例如1,2,3,4,而不是DisplayMember,例如“Book”。 有谁知道这个方法吗? 谢谢,