Windows DataGrid Question

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

    Windows DataGrid Question

    I am using a datagrid to present data in a WINDOWS application.
    If the user click on a cell within the grid, the datagrid allows the user
    to edit the value. I want to allow editing on certain columns, but
    disallow it on others. How do I do this? I am using a DataGridTableSy le
    to identify the columns that I want in the grid, but I do not see a
    property to set if I do not want the column to be editable.

    If I want one of the columns to be a dropdown box that the user selects
    from rather then being a textbox, how can I change this behavior.

    Thanks in advance for your assistance!!!!
  • Eric Cadwell

    #2
    Re: Windows DataGrid Question

    > I am using a DataGridTableSy le to identify the columns that I want in the
    grid, but I do not see a
    property to set if I do not want the column to be editable.


    DataGridColumnS tyle.ReadOnly.

    HTH;
    Eric Cadwell



    Comment

    Working...