KoolReport's Forum

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

Select All / Select None / Toggle Select #340

Open Keith Burke opened this topic on on Jun 28, 2018 - 2 comments

K
Keith Burke commented on Jun 28, 2018

Would you consider adding a feature to multi select inputs?

Adding options to "Select All" / "Select None" or just a "Toggle Select" would greatly improve the usability of the controls.

D
David Winterburn commented on Jun 28, 2018

Hi Keith,

If you are using BSelect for multi select input, you could add the following options to it:

BSelect::create(array(
    "name"=>"singleBSelect",
    "dataStore"=>$this->dataStore("customers"),
    "dataBind"=>"customerName",
    'options' => array(
        'numberDisplayed' => 5,
        'includeSelectAllOption' => true,
        // 'includeResetOption' => true,
    )
));

Let us know if you have other things in mind. Thanks!

K
Keith Burke commented on Jun 28, 2018

Oh wow. That's amazing. Cheers.

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
suggestion

Inputs