KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

How to set maxSpan option for DateRangePicker #747

Closed Eugene opened this topic on on Mar 17, 2019 - 7 comments

Eugene commented on Mar 17, 2019

The following does not work

"options" => array(
    "maxSpan" => array(
        "days" => 7
    ),
),
KoolReport commented on Mar 18, 2019

The way you set is correct. The settings will be transfer to the options of client date range picker. We will check on that.

Eugene commented on Mar 18, 2019

Thanks, but it does not work if I try...

KoolReport commented on Mar 18, 2019

We have just tested. Confirmed that it is not working because the core js library is older version so we will update the core in the next release. Actually for now, you may update if you want. Just update the js and css file with new content.

Eugene commented on Mar 19, 2019

Do you mean daterangepicker.js and daterangepicker.css in /koolreport/packages/inputs/bower_components/daterangepicker/ ?

KoolReport commented on Mar 19, 2019

Yes, Update them with latest content.

Eugene commented on Mar 19, 2019

Thank you. It helped... and the new view of the control is better.

KoolReport commented on Mar 19, 2019

Awesome!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None