471,336 Members | 1,261 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Cannot change columns in datagrid when viewing child records

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

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 21 '05 #1
1 1144
take a look at
www.datagridgirl.com there are a lot of good examples there

"jwogick" <jw*****@aol-dot-com.no-spam.invalid> wrote in message
news:42**********@127.0.0.1...
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

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kevin | last post: by
reply views Thread by bill yeager | last post: by
7 posts views Thread by Luis Esteban Valencia | last post: by
7 posts views Thread by Juan Romero | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.