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 » CExtGridWnd - RowInsert() when using filtering Collapse All
Subject Author Date
Alastair Watts Nov 8, 2010 - 2:15 PM

How do I RowInsert() into hidden rows whilst a filter is applied?


 

Alastair Watts Nov 10, 2010 - 8:41 AM

Thanks ... that works great.


 


Can the same be done with CExtTreeGridWnd?

Technical Support Nov 10, 2010 - 11:40 AM

Yes, you can do the same with tree grid, but you need to perform per-item un-hiding.

Alastair Watts Nov 10, 2010 - 3:14 AM

Are you really saying there is no way to do it?

Technical Support Nov 10, 2010 - 3:48 AM

We mean there is no reason to do this. But you can show all rows (CExtGridWnd::RowUnHideAll()), insert any new rows anywhere, refresh filters (CExtGridWnd::OnGridFilterUpdateForRows()). This can be done without repainting the grid control several times.

Technical Support Nov 9, 2010 - 2:09 AM

You can insert rows relative to visible rows only.