Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

sap.ui.table.Table with background color not being printed

$
0
0

Hi,

 

I am developing a program using the sap.ui.table.Table component and I am facing the following problem:

 

     After I create the table object and place it in the correct div, I use jQuery to set a background color for some cells of the table.

 

     e.g:

$('#CELL_ID').css('background-color','SOME_COLOR');

     Where CELL_ID is the id of a cell from sap.ui.table.Table.

 

The problem is that when I try to print the table, these background colors do not come.

 

This is how the table looks like after I set the background colors.

screen4.png

 

This is What I get when I try to print it out (No background color):

 

screen5.png

 

Is it because I am using jQuery to set the background colors? Would it be a better way to set these backgrounds in this component?


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>