This project is read-only.

Data Grid - color columns and set editable by column

Jul 23, 2010 at 7:30 PM

I have a datagrid bound to a sql query, I am looking for a simple way to set background color of columns, and set some columns editable, some not.  I know the column names for the columns I want to set.  Basically, I would like to pass the grid a list of column names for the columns that can be edited, and set all of the other column background colors to a color indicating that they are read-only.

I do not see this in the examples or on this forum.  I apologize if I have missed something obvious.

Thanks in advance.

 

R. Males

Cincinnati, OH, USA

Jul 26, 2010 at 9:15 AM

Colours are determined by a view attached to a cell. Looks for examples where alternate background colour is used.  Editable is also a simple flag to set.