Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 put COMBO BOX in ReportGrid Collapse All
Subject Author Date
Shailesh Nikam Jul 9, 2007 - 3:26 AM

Hi,
I want to develope one dialog base application using report grid. Can you tell me how to implement below things in application?
1) Can you please tell me how should I put combobox in one of the column of ReportGrid.
2) Can you please tell me how to make particular column disable?
3) how to delete particular row from report grid at runtime.


Regards,
Shailesh

Technical Support Jul 9, 2007 - 10:12 AM

1) Just use the CExtGridCellComboBox cell

2) To disable the whole column, you should make all the column cells disabled (or read-only). You can make any grid cell read-only using this method

pCell->ModifyStyle( __EGCS_READ_ONLY );
The in-place editor window for a particular grid cell will not be activated if you modify the cell styles in this way
pCell->ModifyStyle( __EGCS_NO_INPLACE_CONTROL );
3) Use the ReportItemUnRegister() method.