How could I select more than one item at the DataView ?

Hello friends,I have a question :

How could I select more than one item at the DataView with out press the “CTRL” key or “SHIFT” key ?

Hello,

you may redefine on_click handler for dataview items:

$$("mydataview").on_click["dhx_dataview_item'] = function(e,id){ if (this.stopEdit(false,id)){ if (this.config.select=="multiselect") this.select(id, ctrlKey, shiftKey); //multiselection else this.select(id); } } } }

This function will be called when dataview item is clicked. Apply multiselection you need to call select method with 2 or 3 parameters. ctrlKey and shiftKey could global variables…

Thanks , Alexandra ! I wish you every success!