Add Column Template on the Datagrid

Discussion in 'ASP .Net' started by Dexter, Jan 15, 2005.

  1. Dexter

    Dexter Guest

    Hello all,

    I have a datagrid with "create columns automatically at run time" checked,
    and this datagrid
    show dynamic tables, then the column numbers is dynamic.

    I need to include a template column at end of datagrid. I have all code, but
    the template column
    is add always at column number 0.

    I have to know when the datagrid to create the columns automatically, and
    only after to include my
    template column, but how to know?


    Somebody have a idea about this?

    Thanks


    Dexter
     
    Dexter, Jan 15, 2005
    #1
    1. Advertising

  2. Hi Dexter
    try to put ur grid inside GridLayoutPanel
    and change the property text direction of the GridLayoutPanel


    "Dexter" wrote:

    > Hello all,
    >
    > I have a datagrid with "create columns automatically at run time" checked,
    > and this datagrid
    > show dynamic tables, then the column numbers is dynamic.
    >
    > I need to include a template column at end of datagrid. I have all code, but
    > the template column
    > is add always at column number 0.
    >
    > I have to know when the datagrid to create the columns automatically, and
    > only after to include my
    > template column, but how to know?
    >
    >
    > Somebody have a idea about this?
    >
    > Thanks
    >
    >
    > Dexter
    >
    >
    >
     
    =?Utf-8?B?c2FyYQ==?=, Jan 15, 2005
    #2
    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. Hai Nguyen
    Replies:
    0
    Views:
    404
    Hai Nguyen
    Jan 16, 2004
  2. Dexter
    Replies:
    1
    Views:
    419
    Eliyahu Goldin
    Jan 18, 2005
  3. Ken Varn
    Replies:
    1
    Views:
    978
    Ken Varn
    Aug 19, 2005
  4. Charleees
    Replies:
    2
    Views:
    8,215
    Eliyahu Goldin
    Jun 20, 2006
  5. Ravichandran Mahalingam

    Bound Column or Template Column (w dAdapater?) in DataGrid

    Ravichandran Mahalingam, Jan 9, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    224
    Ravichandran Mahalingam
    Jan 9, 2004
Loading...

Share This Page