【问题标题】:Set Text of cell different than value in Infragistics设置单元格的文本与 Infragistics 中的值不同
【发布时间】:2017-09-01 05:11:15
【问题描述】:

是否可以将值设置为 Infragistics UlraGridCell 并在文本上具有不同的值。 如果我尝试使用

myCell.Text = "test";

这是只读的接缝,当我尝试使用时:

checkProjectCell.SetText

我遇到了一个错误。

我想在值字段和字符串中有一个长值作为文本字段。 你知道我该如何处理这个问题吗?

提前致谢!

【问题讨论】:

    标签: winforms infragistics ultrawingrid


    【解决方案1】:

    如果您需要向用户显示一些文本并存储一些长值,您需要实现 IEditorDataFilter 接口。查看 Infragistics 文档中的这篇文章,了解如何实现此“Using the IEditorDataFilter Interface with WinGrid

    【讨论】:

      猜你喜欢
      • 2012-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多