DataGrid Column Delete Question

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

    #1

    DataGrid Column Delete Question

    I am using the datasource property to populate the datagrid. Once
    populated the user has the option to select/deselect fields. How do
    you delete columns by mapping name. Does anyone know how to do this?

    Thanka in advance
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: DataGrid Column Delete Question

    Duncan,

    You would have to access the DataGridTableSt yle instance for the table
    being displayed, and then you would have to remove the DataGridColumnS tyle
    instance for the column in the grid you want to remove.

    Hope this helps.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - nick(dot)paldin o=at=exisconsul ting<dot>com

    "Duncan" <duncan_uwanson @yahoo.co.uk> wrote in message
    news:7fc466c1.0 310092242.67444 3a9@posting.goo gle.com...[color=blue]
    > I am using the datasource property to populate the datagrid. Once
    > populated the user has the option to select/deselect fields. How do
    > you delete columns by mapping name. Does anyone know how to do this?
    >
    > Thanka in advance[/color]


    Comment

    Working...