Hello, this is my first post and I would like to initiate it with a big thank you for developing such great code! Great job!
Now, to the reason why I took my time to register on this forum.
I am using the dhtmlxCombo for a intranet solution I am developing.
I have a multiple select which I have transformed into a dhtmlxCombo using:
var dhtmlxCombo__frm_accounttype = dhtmlXComboFromSelect("frm_accounttype");
dhtmlxCombo__frm_group.enableFilteringMode(false);
dhtmlxCombo__frm_group.enableOptionAutoHeight(true, 100);
dhtmlxCombo__frm_group.readonly(true);
This I do in order for the user to be able to select multiple options from a select list.
Now, to my questions:
QUESTION #1:
Can I make a “dummy” option to always be displayed at the top, and always visible when select loses focus?
There should be checkboxes (since I am using opt_type=“checkbox”) for all options EXCEPT the first one (in this example named as “dummy”). The first one is more like a header.
The dummy option should also be the only one visible when the select is closed:
[ Please select groups below ]
[ ( ) Group 1 ]
[ ( ) Group 2 ]
If user selects eg. “Group 2” and then clicks outside the select, it should always display the “Please select groups below”.
QUESTION #2:
Right now, you must actively click on the checkboxes in order to select/deselect them.
Can you make it so that the checkboxes are selected/deselected by pressing the entire text value? In my example, if I would press “Group 1” or “Group 2”, I want it to toggle the checkboxes selected/not selected.
Thank you very much in advance!
Kind regards,
Nick