This is a migrated thread and some comments may be shown as answers.

TreeView as Grid column

0 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bob
Top achievements
Rank 1
Bob asked on 12 Oct 2010, 08:23 PM
Is it possible to put a TreeView as a column of a Grid? Could you send me a sample project that does this? Or is there a better way to do what I want? My goal is to have a grid of public agencies that, when the tree corresponding to one agency is expanded, the lobbyists that work for that agency are shown under the agency. So one row of the grid (unexpanded) would look like:

Agency                       Q1                Q2                Q3               Q4                Year
+ AGENCY NAME        $100.00        $100.00        $100.00        $100.00        $400.00

When expanded, the grid row would look like:

Agency                       Q1                Q2                Q3               Q4                Year
- AGENCY NAME        $100.00        $600.00        $150.00        $100.00        $950.00
     LOBBYIST1            $50.00         $50.00          $50.00          $50.00          $200.00
     LOBBYIST2            $50.00         $50.00          $50.00          $50.00          $200.00
     BROCHURES         $0.00           $0.00            $50.00          $0.00            $50.00
     CONTRACTS          $0.00           $500.00        $0.00            $0.00            $500.00

Thanks in advance for any help!

Bob
Tags
General Discussions
Asked by
Bob
Top achievements
Rank 1
Share this question
or