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 Tech Support » RowInsert and ColumnInsert Collapse All
Subject Author Date
Raphael Gruaz Jun 15, 2006 - 4:27 AM

Hi,

I am trying to use a CExtGridWnd.
I need to allow my users to add, remove and insert rows and columns. All the cells are text based, and all must be editable

while it works quite well when adding or removing, all the inserted cells are read only. the only exception is the header cell when i insert columns.
I used exactly the same code to add and to insert, but adding will create editable cells, unlike inserting.

does anyone have an idea about this?

regards,
Raph

Technical Support Jun 15, 2006 - 7:36 AM

We need to take a look at your code so that we can find out what is wrong. You can send us either a piece of code or the entire project.

Please note that to make the cell editable, you need to remove the __EGCS_READ_ONLY and __EGCS_NO_INPLACE_CONTROL cell styles. Of course, the grid should have the __EGWS_BSE_EDIT_CELLS_INNER style applied.



Raphael Gruaz Jun 15, 2006 - 7:38 AM

thanks. Actually, I could solve my problem.