One datagrid with two tablestyles ?

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
 
A

Agnes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top