How do I show vertical borders on a gridview?
You'll notice in the picture, there's a row of column headers, and a row of data, and neither have any vertical borders that indicate there are cells there.
Hey David,
There probably is a slight performance hit, although most likely not much.
I don't think there was one particular reason we didn't add the column separators. I think it was actually on our backlog at one point, however there weren't any requests for it, plus we had a workaround if it was needed.
-SteveZ
Thanks Steve.
I'll get some time to play with it later today.
Just curious... is the reason you guys didn't build that feature in because it has a big performance hit when scrolling, and all the drawing that ensues?
Hi David,
Currently column lines aren't built into the IGGridView.
You can still achieve them by creating custom cells, and putting the lines in the cells though.
I've attached a sample that shows how you can achieve this for both a header and normal cell.
Hope this helps,