|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Cannot change columns in datagrid when viewing child recordsI 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 take a look at
www.datagridgirl.com there are a lot of good examples there Show quoteHide quote "jwogick" <jwog***@aol-dot-com.no-spam.invalid> 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
VB.NET VERY Slow
Make installer make app start up on login Option Strict ON and Dictionary obect SQL connection two console apps. detect clicked column in datagrid Why "Application has generated an exception" error and not a good error message? How to check for scroll bars in web browser object? Forms.captionbutton CreationTime and Windows File CreationTime why different? |
|||||||||||||||||||||||