Datagrid formatting

  • Thread starter Thread starter Rich
  • Start date Start date
R

Rich

I have a bound data grid in which I would like to do some very simple
formatting, i.e. column width, column heading names, etc. I gather
from poking around this board that datagrid formatting in the CF is
somewhat limited, but after finding this site
(http://www.inthehand.com/forums/viewtopic.php?t=96) I assumed I could
do what I needed. I have implemented this code almost verbatim, and
while I do not receive any errors the custom formatting is not applied.
The column headings still assume the name of their respective fields
and the column widths are all the same.

1. Should I expect that this code would work?
2. If so, any suggestions for what I might be doing wrong?

Thanks,
Rich
 
Never mind. Incorrect MappingName property for DataGridTableStyle
appears to be the problem.
 

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

Back
Top