One datagrid with two tablestyles ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Agnes

    One datagrid with two tablestyles ?

    I got one datagrid to show the master-detail relation data.
    I know how to set the Tablestyles for one datagrid,
    However, As the user 'expand' the record, I don't know how to set its child
    columnstyles.
    Does anyone know ??

    Thanks in advance


  • Agnes

    #2
    Re: One datagrid with two tablestyles ?

    i know how to do it ..
    Plesase ignore this post.

    "Agnes" <agnes@dynamict ech.com.hk> ¦b¶l¥ó
    news:uadkAa0gEH A.3864@TK2MSFTN GP10.phx.gbl ¤¤¼¶¼g...[color=blue]
    > I got one datagrid to show the master-detail relation data.
    > I know how to set the Tablestyles for one datagrid,
    > However, As the user 'expand' the record, I don't know how to set its[/color]
    child[color=blue]
    > columnstyles.
    > Does anyone know ??
    >
    > Thanks in advance
    >
    >[/color]


    Comment

    • thomas wenning

      #3
      Re: One datagrid with two tablestyles ?

      HI Agnes,

      and the solution is....?

      Greeting

      Thomas

      "Agnes" <agnes@dynamict ech.com.hk> schrieb im Newsbeitrag
      news:e$iFFK1gEH A.4092@TK2MSFTN GP10.phx.gbl...[color=blue]
      > i know how to do it ..
      > Plesase ignore this post.
      >
      > "Agnes" <agnes@dynamict ech.com.hk> ¦b¶l¥ó
      > news:uadkAa0gEH A.3864@TK2MSFTN GP10.phx.gbl ¤¤¼¶¼g...[color=green]
      > > I got one datagrid to show the master-detail relation data.
      > > I know how to set the Tablestyles for one datagrid,
      > > However, As the user 'expand' the record, I don't know how to set its[/color]
      > child[color=green]
      > > columnstyles.
      > > Does anyone know ??
      > >
      > > Thanks in advance
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Agnes

        #4
        Re: One datagrid with two tablestyles ?

        I can declare two different table styles
        Dim dgtsListField_1 As New DataGridTableSt yle
        Dim dgtsListField_2 As New DataGridTableSt yle
        ............... .........

        dgStandard.Tabl eStyles.Add(dgt sListField_1)
        dgStandard.Tabl eStyles.Add(dgt sListField_2)

        From Agnes



        "thomas wenning" <nospam.thomas. wenning@gmx.de> ¦b¶l¥ó
        news:%23I9m6y2g EHA.2492@TK2MSF TNGP10.phx.gbl ¤¤¼¶¼g...[color=blue]
        > HI Agnes,
        >
        > and the solution is....?
        >
        > Greeting
        >
        > Thomas
        >
        > "Agnes" <agnes@dynamict ech.com.hk> schrieb im Newsbeitrag
        > news:e$iFFK1gEH A.4092@TK2MSFTN GP10.phx.gbl...[color=green]
        > > i know how to do it ..
        > > Plesase ignore this post.
        > >
        > > "Agnes" <agnes@dynamict ech.com.hk> ¦b¶l¥ó
        > > news:uadkAa0gEH A.3864@TK2MSFTN GP10.phx.gbl ¤¤¼¶¼g...[color=darkred]
        > > > I got one datagrid to show the master-detail relation data.
        > > > I know how to set the Tablestyles for one datagrid,
        > > > However, As the user 'expand' the record, I don't know how to set its[/color]
        > > child[color=darkred]
        > > > columnstyles.
        > > > Does anyone know ??
        > > >
        > > > Thanks in advance
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...