locked
VB Datagridview Grouping - Expand and Collapse Row(s). Help needed... RRS feed

  • Question

  • I am trying to code a VB bound datagridview to allow for grouping such as illustrated below...  The datagridview will be filled by clicking a date on a monthcalendar. The datagridview will need to be editable also (will need to add rows and save data). As illustrated below i want to be able to click on the + sign to the right of the Technician row and have that row expand. I have found some other code that was close but all of it is in C. Can anyone assist with some starter code or point me in the right direction. I have looked at most of the forum posts on Msdn and this topic has been a topic of discussion quite often. I am using Visual Studio 2010. Thanks.

     - Technician A (2 Jobs) <----------------------- No Gridlines - ----------------------------->

    Job 1 Time Customer Name

    Job 2 Time Customer Name

    + Technician A (4 Jobs) <----------------------- No Gridlines - ----------------------------->

    - Technician B (2 Jobs)  <----------------------- No Gridlines - ----------------------------->

    Job 1 Time Customer Name

    Job 2 Time Customer Name

     

    *DataTable layout..

    Date Technician Customer Name Address City....


    Wednesday, April 13, 2011 3:06 AM

Answers

All replies