KoolReport's Forum

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

Date Range Input Options #692

Closed iRiyada opened this topic on on Feb 19, 2019 - 2 comments

iRiyada commented on Feb 19, 2019

I am trying to do daterange filtering. The filtering part is working but Date range input is showing restrictions like

  • Not updating selected calendar date to input
  • might want to read one of the dates as null
  • two months are linked in the data range calender

I want to know, if it is possible to include these options directly,(as shown below) without writing javascript.

<form method='post'>
            <div class="col-md-6 form-group">
            <?php DateRangePicker::create(array(
                 "locale"=>"en-us",
                "name"=>"reportrange",
                "alwaysShowCalendars"=>true,                 //are these options available in koolreport
                "autoApply"=> true,                                   //are these options available in koolreport
                "showDropdowns"=>true,                        //are these options available in koolreport
                "linkedCalendars"=>false,                       //are these options available in koolreport
                 "autoUpdateInput"=>true,                       //are these options available in koolreport
                    "format"=>"MMM Do, YYYY",
            ));?>
          </div>
<form>
KoolReport commented on Feb 19, 2019

You put those property under options

DateRangePicker::create(array(
    "options"=>array(
        "alwaysShowCalendars"=>true,
        ...
    )
));
iRiyada commented on Feb 26, 2019

Thank you

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
None yet

None