Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
Indentation issue
posted

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.

Parents
  • 469350
    Offline posted

    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. 

Reply Children