Home > Net >  JsReport not rendering docxCheckbox
JsReport not rendering docxCheckbox

Time:10-27

I have a Docker Image where jsReport is rendering a custom doxc file to a pdf. I have normal string values like firstname and lastname some checkboxes depending on previous user input.

Evening works fine for the string values, but the checkboxes will not get rendered.

String values

Boolean values

After rendering, it looks like this:

String rendered

Boolean rendered

The data looks like this: { "customer": { "fullName": "John Doe", "birthDate": "10.10.1999", "companyRegistrationNumber": " / AB123456", "fullAddress": "Street 1234 B5", "email": "[email protected]" }, "date": "11.09.2022", "ready": true }

It is rendering something, it even uses the "ready" value because it displays the same string as "true", but it is not displaying a checkbox

CodePudding user response:

The docxCheckbox helper call needs to be placed in the title of the word checkbox.

See the documentation https://jsreport.net/learn/docx#forms

CodePudding user response:

The property menu is not available with the right-click menu. It is only in the developers tab

Menu

  • Related