DataGridColumnStyle question

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
 
J

Jan Tielens

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top