|
Title: combo 'auto' width doesnt work as expected Post by: A-K on November 01, 2014, 04:13:05 AM 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: Code: <div class="row"> This is the js: Code: $('#ct').combotree({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. Title: Re: combo 'auto' width doesnt work as expected Post by: stworthy on November 01, 2014, 06:06:15 AM Please try this:
Code: $('#ct').combotree({Title: Re: combo 'auto' width doesnt work as expected Post by: A-K on November 01, 2014, 06:55:12 AM Works great! Thanks.
|