Binded Datagrid Formatting columns or hiding columns

Discussion in 'ASP .Net Web Controls' started by ton, Feb 10, 2004.

  1. ton

    ton Guest

    I want to hide my first column of my datagrid is this possible

    Thanx
    Ton
     
    ton, Feb 10, 2004
    #1
    1. Advertisements

  2. ton

    CMA Guest

    do u assign columns at the run time or doing all the things at run time
    froim the code?

    if it is design time, u can uncheck the auto generate columns and match
    columns by manyally. so u can show anly needed columns...
    hope this helps,
    CMA


    "ton" <> wrote in message
    news:c0a7l1$jc8$1.nb.home.nl...
    > I want to hide my first column of my datagrid is this possible
    >
    > Thanx
    > Ton
    >
    >
     
    CMA, Feb 11, 2004
    #2
    1. Advertisements

  3. use the visible property of the datagrid column if it is not autogenerated
    otherwise use the visible property on the cells object

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "ton" <> wrote in message
    news:c0a7l1$jc8$1.nb.home.nl...
    > I want to hide my first column of my datagrid is this possible
    >
    > Thanx
    > Ton
    >
    >
     
    Alvin Bruney [MVP], Feb 11, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Amber
    Replies:
    1
    Views:
    766
    Alvin Bruney
    Oct 11, 2003
  2. =?Utf-8?B?a2x5bm4=?=

    hiding columns in datagrid not working

    =?Utf-8?B?a2x5bm4=?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    451
    =?Utf-8?B?a2x5bm4=?=
    Oct 8, 2004
  3. tshad
    Replies:
    9
    Views:
    3,500
    tshad
    Apr 5, 2005
  4. Pedro Rosas Silva

    How to sort a datagrid binded to an HashTable?

    Pedro Rosas Silva, May 5, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    480
  5. Amber

    Hiding and Showing Columns in the DataGrid Control...

    Amber, Oct 7, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    305
    Alvin Bruney
    Oct 11, 2003
  6. Jerad Rose

    Hiding DataGrid Columns when AutoGenerateColumns="true"

    Jerad Rose, Mar 13, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    7
    Views:
    1,206
    Jerad Rose
    Mar 14, 2007
  7. Amber

    Hiding and Showing Columns in the DataGrid Control...

    Amber, Oct 7, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    355
    Alvin Bruney
    Oct 11, 2003
  8. Ste
    Replies:
    41
    Views:
    1,200
    Thomas 'PointedEars' Lahn
    Aug 1, 2007
Loading...