Skip to Content
Author's profile photo Ravi Varma Indukuri

CSS trick that adds dynamic images to background of any SAPUI5 Control

I had a situation that, I need to add a dynamic image to a background to a table.



To  do that I had placed a CSS class to the table like below in the view file.


<Table class=”tblBackground”>


Now in the Controler file, I used below Jquery CSS trick to place an image.


$(“.tblBackground”).css(“background”, “url(“dynamicImageURL”) no-repeat”);



Thanks and Regards,

Ravi Varma Indukuri

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.