简体   繁体   中英

Infragistics UltraGrid filter for dataRowError

Using Infragistics.win.UltraGrid, I'm setting dataRowError for certain rows where I want the user to review. 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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