I've been request to change the color of the list item from black to red (our company logo color, our branding) in SSRS. I've tried to replace the the
=REPLACE(
REPLACE(
First(Fields!Description.Value, "myDatasetName")
, "<li>"
, "<font color='#E61E3C'>•</font> "
)
, "</li>"
, "<br/>"
)
My bullet is now in red so that's cool....however I've lost the property of a list :
- my long
text should appear like this
So to have the text of the next rows being aligned with the first text row. However, as expected, the text is aligned with the bullet. My approach is wrong as it should remain a list item to benefit of all the properties.
With CSS we can change the color, does anyone know how we can do it in SSRS ?
Any help would be appreciated.
SQL Server version : 2019
The best way I found is that I've developed my own list subreport. This sub report is a tablix with 3 columns :
I can then change the :
I've changed by SQL query to return a list of records. My report has a tablix that calls my own list subReport having the necessary parameters (textItem,...)