Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to dynamically change a grid cell from CExtGridCellStringDM to CExtGridCellComboBox Collapse All
Subject Author Date
Cyndi Chatman Feb 15, 2007 - 7:17 AM

I have a grid whose cells are initially CExtGridCellStringDM class. I have overriden the OnGridCellInputComplete function. Based on the input from a cell, I need to dynamically set the reminder of cells in the row to the CExtGridCellComboBox class. How can I do this? I keep getting debug assertions when I try.

Suhai Gyorgy Feb 15, 2007 - 9:31 AM

Not so long ago there was a thread "Change cell type" with Paul Cowan on Support Forum about this. You should call GridCellSet(NULL); and after that call GridCellGet with the new cell type runtime class.