Default view in parent-child datagrid

  • Thread starter Thread starter Brian Bischof
  • Start date Start date
B

Brian Bischof

I have a parent-child datagrid working fine with three datasets connected.
My question is how to make it open to the first level automatically. Right
now when the form opens it just shows a blank datagrid with a plus sign. I
click the plus sign and then it shows me all three levels to choose from. I
then click on the top level and it shows me the rows. How can I show these
top-level rows by default without making the user do all that clicking?

Thanks.
 
Hi Brian,

Use the DataGrid's Expand method to expand the top-level rows
programmatically.
 
Back
Top