I am porting ny old ssWinGrid over to Ultrawingrid.....
I have a button column and when clicked, changes the text from one value to the next and the color. Works fine as an old sswingrid , but nor quite the same in 8.x winfows forms.
Now when I click the cell (on cell activate), the text changes, but the color does not chan until I leave the cell. In the ssgrid, I could click the button (on cell activate) and the button would go away and leave the text and color as expected. The new grid, the button does not go away as expected. How can I click button then make it go away afterwards, leaving the text. It basically works as a toggle switch......
You can try following code.
Also set ActivecellAppereance back color.
Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance(); appearance19.BackColor = Color.Red;this.ulgResult.DisplayLayout.Override.ActiveCellAppearance = appearance19;
I have no issue with setting the color of the cell text, just that I have to click another cell to see it. In the old com grid, I was able to click on the button and could see it imemdiatly without having to click another cell
Which cell are you changing the color of? The button cell? For the button cell, you probably have to set the ButtonAppearance (or maybe it's CellButtonAppearance) to get the button to change.