Windows DataGrid Question

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

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 DataGridTableSyle
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!!!!
 
I am using a DataGridTableSyle 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.


DataGridColumnStyle.ReadOnly.

HTH;
Eric Cadwell
http://www.origincontrols.com
 
Back
Top