By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,300 Members | 1,789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,300 IT Pros & Developers. It's quick & easy.

Cannot change columns in datagrid when viewing child records

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.