Is it possible to format data in the win grid like excel.
eg
what i really want to do is to be able to indent data in a certain column a certain amount from the right. I am sure that the text can be aligned but can it be indented this way. Without the need to add white space to the end of each field.
I think CellPadding is on the Override. It applies to all columns in the band or layout.
mygrid.displaylayout.bands(0).Override.CellPadding
probably a stupid question but. How do i acces the cellpadding property.
I have tried mygrid.displaylayout.bands(0).columns(index). and get no cell padding property. obviously i amgoing wrong. any help would be great.
Thanks
I'm not sure I understand what you are describing. What's the difference here between right-aligning the text and indenting it?
Are you talking about the space between the last character of text and the edge of the cell? There's are a couple of ways you could handle that. The easiest way would be to use the CellPadding property.
Another method would be to use a DrawFilter and draw the text in the cell yourself.