Hey, I have a problem with the width of the combo.
When I set it to 'auto' I expect to be the size of his parent div because thats the only
way to make the combo size be dynamic.
When using bootstrap with the grid system I need the combo to always be the size of his parent
so when the window size is changed bootstrap handles with making everything responsive but
the combo isnt dynamic and is stuck with width: 150px.
this is the html code:
<div class="row">
<div class="col-md-4">
<input id="ct">
</div>
</div>
This is the js:
$('#ct').combotree({
url: 'tree_data1.json',
method: 'get',
width: 'auto'
});
although the width is set to 'auto' its still given a fixed width that is 150px while his parent div is 316px. Is the width:'auto' supposed to act like this?
if instead of combo I inserted a datagrid it worked great! The width was responsive to the parent width but in combo it just doesnt work...
Thanks.