February 8, 2011 at 9:13 am
hi.
I've been trying to find a solution, and this link says its by design - but i can't believe that.
http://connect.microsoft.com/VisualStudio/feedback/details/535260/tablix-cell-borders-colors
I have a tablix control which has a number of columns in.
Column's 1,2 and 3 all have an expression which decides what the border colour should be.
The problem seems to come about due to the tablix rendering itself from left to right, top to bottom. So if column 1's expression decides its
borders should be red, when column 2's expression runs and it decides its white (for example) the ajoining border between columns 1 and 2 turns to white, as if the borders are overlapping each other.
i've attached an attachment to show what i mean.
as you can see, the middle block, 5 rows down, is meant to have red borders on all sides - but because the block to its right has a white border, it has overlapped the middle blocks right side border.
red borders overlap white, and white overlap red.
February 9, 2011 at 8:18 am
you might try to replace white borders with no borders at all (Style = none)
February 10, 2011 at 3:39 am
thanks for the reply.
I tried your advice out, to replace the cells with no border for the same expression and it worked but i didn't really feel it looked nice.
It did got me thinking again, though, and I felt that the best way to get around this was to add really narrow columns and rows around the Columns / Rows that were already present.
This meant that the boxes were seperated by a small gap and so the borders were not overlapping anymore. Coupled with your advice to set the boxes to 'no border' instead of white, and it now looks nice. It did seem to be a fiddly way of doing it but it did the job!
attached is how it now looks
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply