PC Review


Reply
Thread Tools Rate Thread

Cannot change columns in datagrid when viewing child records

 
 
jwogick
Guest
Posts: n/a
 
      4th Apr 2005
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
 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a
 
      6th Apr 2005
take a look at
www.datagridgirl.com there are a lot of good examples there

"jwogick" <(E-Mail Removed)> wrote in message
news:4251a536$1_3@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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change value of DataGrid columns (2) John Smith Microsoft ASP .NET 2 6th Jun 2006 09:09 AM
DataGrid disappearing while viewing child row and parent row updated awesj@hotmail.com Microsoft Dot NET Framework Forms 0 6th Oct 2005 03:39 PM
Child/master on subform does not change records X Microsoft Access Forms 1 16th Oct 2003 06:14 PM
DataGrid - Problem hiding child columns Jim Microsoft Dot NET 0 7th Oct 2003 02:16 PM
Restrict clicking child datagrid columns Kenneth Bohman Microsoft Dot NET Framework Forms 2 23rd Sep 2003 10:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:53 PM.