DataGridColumnStyle question

  • Thread starter Thread starter RA
  • Start date Start date
R

RA

Hi

If I have 8 columns and I want 7 of them to be combobox and one to be
checkbox and I use the DataGridColumnStyle to set the style. Do I have to
define 8 different column styles and add them to the grid styles collection,
or do I need to define only two styles and add them to the grid styles
collections - in that case how do I tell the grid which style to use with a
specific column?


Thanks,
Ronen
 
You need to add a ColumnStyle to your TableStyle for each column you want to
show. You can use the MappingName property for each ColumnStyle.
 
Back
Top