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.
Subject |
Author |
Date |
|
Rado Manzela
|
Jan 7, 2010 - 4:37 AM
|
I’m using CExtTreeGridWnd to display tree data with more columns. Is it possible to create some rows in the tree which are just empty lines, or some label text to separate data rows into some groups? There should be no columns lines and sorting of data by columns should sort data in each group separately. Thank you.
|
|
Technical Support
|
Jan 8, 2010 - 11:50 AM
|
You should override the CExtGridBaseWnd::OnGbwAnalyzeCellMouseClickEvent() virtual method in your CExtTreeGridWnd -derived class. This will let you catch the mouse clicks on outer header cells. Your mouse click handler should invoke the CExtTreeGridWnd::ItemSortChildren() or the CExtTreeGridWnd::ItemSortChildrenDeep() method for each tree row whose children tree rows should be sorted.
|
|