NathanaelA / fluentreports

:page_facing_up: Fluent Reports - Data Driven Reporting Engine for Node.js and Browsers :page_facing_up:

Home Page:https://fluentreports.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FRG] Cannot set band to percentage width

beauwest opened this issue · comments

I want to set a band to a percentage width.

I can't do it through the normal "Width" field, because it is a percentage. Luckily, it has a "Function" button. So I tried to create a function that did

return '25%';

But when I try to do that, I get an error when I close the band editor prompt.

TypeError: e.indexOf is not a function
at FluentReportsGenerator._parseSize (fluentReportsGenerator.js:337)
at frBandElement._fixCellProps (fluentReportsGenerator.js:4466)
at fluentReportsGenerator.js:4391
at HTMLButtonElement. (fluentReportsGenerator.js:5419)