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 » AdoRecordsetView + CFilteredTreeGridWnd Collapse All
Subject Author Date
R p Feb 20, 2012 - 3:43 AM

Hi!

I need a support init cells in the CFilteredTreeGridWnd class from FilteredGrids sample by ADODB::_RecordsetPtr like in AdoRecordsetView sample project. Can you get me a sample how can I do this?

By the way, how I can change the CFilteredTreeGridWnd.Init() function for fillings cells if I have opened recordset ADODB::_RecordsetPtr in my project?

R p Feb 21, 2012 - 3:22 AM

Thank you for answer.

Technical Support Feb 21, 2012 - 2:31 AM

The AdoRecordsetView sample app demonstrates how to implement a virtually cache-able CExtGridWnd window with dynamic on-the-fly data uploading from external databases using ADO APIs. The virtually cache-able mode is supported by the CExtGridWnd control. It’s not supported by the CExtTreeGridWnd control. Tree grids always use data completely stored in memory. So, you should simply enumerated data records and insert all of them into tree grid. If you have many data records, then switch to CExtGridWnd control and apply ready-to-use code from the AdoRecordsetView sample app.