Hello,
I'm working on an application were I validate some input. Cells with wrong data are displayed with a red background and an error is displayed in a listbox.
When I press on an error in the listbox the row which contains the cell with that error is made active.
The problem is that the red background from the cell is overridden bij the activecell layout.
I want to keep the red background of the cell when the row gets activated. The rest of the row should have the active row background.
Is there a way to do this?
Greetings
Gert
ps: I've included a dummyproject to illustrate my problem. It includes an excel file. To make it work copy the data in the excel file, then start the application and press on button1 to paste the data in the ultragrid.
In what versions were ActiveAppearance and ActiveAppearanceEnabled added respectively? In our attempts to overcome this issue, we have had some limited success using a draw filter, albeit the SelectedAppearance is giving us a bit of a headache.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Those properties were added in a later version.
Another option would be to set the ActiveAppearance on the cell to the same as the Appearance of the cell. ActiveAppearance was added before the ActiveAppearancesEnabled property, so you might have it available.
If that's not available in your version, the you would need to upgrade or use a DrawFilter.
You could read about these properties at the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/infragistics2.Win.UltraWinGrid.v12.1~Infragistics.Win.UltraWinGrid.UltraGridOverride~SelectedAppearancesEnabled.html
You could try them out if you download the trial version of Net Advantage 12.1. Please let me know of the result.
I've found that it is working in my dummyproject which uses v10.2 (was looking InitializeLayoutEventArgs)
On the real project i'm working on uses v8.1 and it doesn't recognises ActiveAppearancesEnabled and SelectedAppearancesEnabled