cell-borderstyle

  • is it possible to change the border style of table cells during runtime? 

  • Nelson,

    I'm not sure what you're trying to achieve but it should be possible by using an expression. In the Properties window change the value for the cell borders from the default to an expresion like =IIF((VAL(Fields!Col1.Value >= 0, "Black","Red")

    Markus

    [font="Verdana"]Markus Bohse[/font]

  • this is what is what to do

    on the details part of the table i have 2 columns A and B on the 1st grouping A and B have values but on the 2nd grouping only column A have value column B is always 0. our user want to remove column B in the 2nd. which i think is not possible, so my solution is to make the border style of column to none...

    i already tried that, but there  are no changes on the border style. also tried to

    =IIF((VAL(Fields!Col1.Value >= 0, Solid,None) - this returns an errors indicating that Solid is recognizes

    =IIF((VAL(Fields!Col1.Value >= 0, 0,1) - no changes on the border style

     

     

     

     

  • Nelson,

    why don't you use the Visisbility property with an expression like this:

    =IIF(Fields!Col1.Value = 0, TRUE,FALSE)

    This hides the cell if it's value is 0. Changing the border style would still display the value, so I think this is a better solution.

    Markus

    [font="Verdana"]Markus Bohse[/font]

  • Nelson,

    by the way the expression you tried works once you place quotes around the values for the borderstyle.

    =IIF(Fields!c3.Value<>0, "Solid","None")

    Markus

    [font="Verdana"]Markus Bohse[/font]

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply