CF2.0 DataGrid questions

S

Stephan Elsner

Two DataGrid questions:

1. I use a bindingList with custom objects bound to a DataGrid. How
can I hide colums that not all public properties of the custom object
have their own column?

2. (how) can I format cells (hide table lines, use smaller font
etc...)?


Thank you!

/Stephan
 
S

Stephan Elsner

The CF Grid doesn't support formatting per-column or item. You can hide
columns but adding a datagridtablestyle. Theres an example here
(http://www.expresscomputeronline.com/20040322/techspace02.shtml) and some
more if you google the term.

Thank you!
The problem is: I did not get it to work. (No effect, all columns ar
visible, even if I set width to 0)
I googled some times but did not find something helpful.
Should DataGridTableStyle.MappingName be equal to DataGrid.Name?
 

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