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. Advertising

  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. Advertising

  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. Advertising

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. Mira Vizjak

    Binded DropDown list

    Mira Vizjak, Jul 15, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    476
    Anatoly
    Jul 16, 2003
  2. Amar

    How Determine Binded Column

    Amar, Feb 25, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    312
  3. Hunter Hou
    Replies:
    8
    Views:
    1,199
    AlesD
    Aug 10, 2004
  4. amirmi
    Replies:
    0
    Views:
    838
    amirmi
    Aug 1, 2006
  5. 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:
    385
Loading...

Share This Page