Text Disappears from DropDownGrid Cell

I am using a grid with a DropDownCell. However, I wanted a custom grid to appear, so I derived a cell control from DropDownGrid to acheive this using the examples posted in another thread. The problem i am having is that the text in a cell with the drop down grid disappears when the drop down button is selected. I have attached a modified version of some code posted earlier to demonstrate the problem. I tried to fix the problem in the PrepareViewStyleInfo event, but it didn't solve the problem. Any help is much appreciated.! Rachel

2 Replies

SH Stefan Hoenig Syncfusion Team October 7, 2002 04:26 PM UTC

Hi Rachel, I modified your code a bit. I derived from GridDropDownGridCellRenderer and I added a call to base.OnInitialize from your OnInitialize override. Should be fine now. Stefan


RV Rachel VanWinkle October 8, 2002 10:01 AM UTC

Stefan, Thanks a millon, your help is much appreciated! Rachel

Loader.
Up arrow icon