简体   繁体   English

针对dataRowError的Infragistics UltraGrid过滤器

[英]Infragistics UltraGrid filter for dataRowError

Using Infragistics.win.UltraGrid, I'm setting dataRowError for certain rows where I want the user to review. 使用Infragistics.win.UltraGrid,我为希望用户查看的某些行设置了dataRowError。 Everything looks good, I get a little red icon in the selector column with the proper tooltip; 一切看起来都不错,在选择器列中有一个带有适当工具提示的红色小图标; however, I need my user to be able to filter that column to only see the rows with errors. 但是,我需要我的用户能够过滤该列以仅查看有错误的行。

Is this possible? 这可能吗?

Thanks. 谢谢。 Mike 麦克风

You can change the FilterOperandDropDownItems from its default value to this one 您可以将FilterOperandDropDownItems从其默认值更改为此值

grid.DisplayLayout.Override.FilterOperandDropDownItems = FilterOperandDropDownItems.All;

After this, your users will be able to see an 'Errors' option (as well a 'Non Errors' one) in the filter dropdown 之后,您的用户将可以在过滤器下拉菜单中看到“错误”选项(以及“非错误”选项)

There is a tutorial on the Infragistics site about this. Infragistics网站上有一个有关此的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM