DataGridView formatting

Posted by Vadim on Stack Overflow See other posts from Stack Overflow or by Vadim
Published on 2010-03-18T08:53:33Z Indexed on 2010/03/18 9:11 UTC
Read the original article Hit count: 173

Filed under:
|
|
|

I have a DGV with columns "code" and "name".

Depends of lenght of a code I want to add tabulation to the "name" cells, to show structure of a data.

Like that in this picture:

http://lh3.ggpht.com/_DoguEKXT64k/S6Hoq7Eu7sI/AAAAAAAABRs/wwjf7TXTLmk/dgv.jpg

How is it better to do? I think there is a better way then just loop for all rows and add spaces in front of names, right?

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about winforms