One datagrid with two tablestyles ?

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

I got one datagrid to show the master-detail relation data.
I know how to set the Tablestyles for one datagrid,
However, As the user 'expand' the record, I don't know how to set its child
columnstyles.
Does anyone know ??

Thanks in advance
 
I can declare two different table styles
Dim dgtsListField_1 As New DataGridTableStyle
Dim dgtsListField_2 As New DataGridTableStyle
........................

dgStandard.TableStyles.Add(dgtsListField_1)
dgStandard.TableStyles.Add(dgtsListField_2)

From Agnes
 
Back
Top