Sample for combocheckbox

I am looking for a sample of how to do this. Is there one on the site. I looked but didn’t see it. Maybe I missed it.

Thanks,

Angela

There is the sample you need:
dhtmlx.com/docs/products/dht … tions.html

Hey Darya, thanks for the reply!

I am looking for a way to do it with the Select box.

docs.dhtmlx.com/doku.php?id=dhtm … eckboxes&s[]=combobox&s[]=checkbox

I found that article that says use opt_type=“checkbox” but it is not working.

<script type="text/javascript">
    var lstCompetitorsId = 'ctl00_body_lstCompetitors';
    $(document).ready(function () {
        var cb = dhtmlXComboFromSelect(lstCompetitorsId);
        ComboList[lstCompetitorsId] = cb;
    });
</script>
<select name="ctl00$body$lstCompetitors" id="ctl00_body_lstCompetitors" opt_type="checkbox" style="width:200px;">
	<option value="1">AMR</option>
	<option value="10">Armstrong</option>
	<option value="4">Atlantic</option>
	<option value="3">Cataldo</option>
	<option value="9">Health Tech</option>
	<option value="5">LifeLine</option>
	<option value="11">Lynn Fire Dept</option>
	<option value="8">Lyons</option>
	<option value="6">Patriot</option>
	<option value="7">Trinity</option>
</select>

So I am wondering if it is doable with the select box. select box is much easier to use with .NET.

To clarify what is not working is no checkboxes show up. It creates the combo no problem.

Also I added Multiple to the select declaration thinking that might be it. But that did not solve the problem.

Never mind, I realized I was missing the extra.js file…Thought i had it but didn’t…