Cannot change columns in datagrid when viewing child records

J

jwogick

I'm hoping someone can help me!
I just have a simple form with a datagrid displaying child records
from a dataset that contains two related tables Parent
table>Clients Child table>cases. using the designer I tell the
datagrid to display the child records only from the dataset (Relation
called ClientsCases table>cases) it will display the data fine but
when I add a new tablestyle with custom columns it does not change
the columns in the datagrid from the default.
However if I display a non related table in the datagrid then I can
customize the columns no problem.
I've read all over the net looking for the answer. I've come to the
conclusion that the columns in the datagrid control can only be
customized when you are not displaying child records. Unless someone
can tell me otherwise!
Posted at: http://www.groupsrv.com
 
C

Chris

take a look at
www.datagridgirl.com there are a lot of good examples there

jwogick said:
I'm hoping someone can help me!
I just have a simple form with a datagrid displaying child records
from a dataset that contains two related tables Parent
table>Clients Child table>cases. using the designer I tell the
datagrid to display the child records only from the dataset (Relation
called ClientsCases table>cases) it will display the data fine but
when I add a new tablestyle with custom columns it does not change
the columns in the datagrid from the default.
However if I display a non related table in the datagrid then I can
customize the columns no problem.
I've read all over the net looking for the answer. I've come to the
conclusion that the columns in the datagrid control can only be
customized when you are not displaying child records. Unless someone
can tell me otherwise!
Posted at: http://www.groupsrv.com
 

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