Docxstyle background color issue



  • Hello,I am using docxtable and inside it using docxstyle to give a custom color to cells but even when I am using target as cell,it is not applying the background color to whole cell..only applying to the paragraph


  • administrators

    hi! i dont know what could be causing this without knowing what your template looks like. try to share a sample where the issue is fully reproducible


  • Banned

    I’ve run into similar styling issues with docx templates before. Word can be really picky about how it interprets background colors compared to a standard browser. Sometimes the docxStyle doesn't apply correctly if there's conflicting 'shading' settings already in the Word document itself. It might be worth checking if the base table or cell in your .docx file has a default fill color set to 'None' or 'No Color' instead of being completely unstyled.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.