I am trying to change the CellType to "ComboBox" and DisplayMember, ValueMember using GridBoundGrid.Model.QueryCellInfo Event.
The Code in the Event just run once (depending on a bool value)
If RunOnce Then ''Change to ComboBox
The problem is when the Cell activate it return to its previous style (The ComboBox arrow disappear)
I am trying to change a single cell to ComboBox depending on another cell value
Using Essential Suite 126.96.36.199
ADAdministrator Syncfusion Team March 30, 2005 09:05 AM
You cannot run code once in QueryCellInfo and change a cell type. The code must be run every time through QueryCellInfo in order for the change to take effect. (Doing something in QueryCellInfo does not ''store'' the change anywhere. It has to be constantly reset every time QuerycellInfo is called.) Try removing your ''one-time check" code, and just let the code be hit all the time to see if this handles the problem you are seeing.
BEBassam El-ShafieMarch 30, 2005 10:03 AM
Ok I got the point although not my needs, I will try the spaghetti ways :)
Thanks for the reply.