Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
445
ClickCellButton Question
posted

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......

 

 

 

Parents
  • 975
    posted

    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;

Reply Children