Hi,
I have a working combobox widget generated using the PHP wrappers. Now, I would like to make the widget wider (500px).
When I insert the javascript code below directly in to the page, I am able to widen the dropdownlist of the widget, however, not the widget itself.
I have also tried adding a custom class (which sets a width with an !important flag) to the widget using the .attr() method (from PHP); this does widen the widget, but it messes up the rendering and looks ugly afterwards.
How would I do this? I would like to make the default width of all widgets wider actually, all preferably from within my PHP code. Just to be clear, I would like to widen both the widget itself and the dropdownlist.
Hope you can help! :)
I have a working combobox widget generated using the PHP wrappers. Now, I would like to make the widget wider (500px).
When I insert the javascript code below directly in to the page, I am able to widen the dropdownlist of the widget, however, not the widget itself.
var combobox = $("#event_id").data("kendoComboBox");
combobox.list.width(400);
How would I do this? I would like to make the default width of all widgets wider actually, all preferably from within my PHP code. Just to be clear, I would like to widen both the widget itself and the dropdownlist.
Hope you can help! :)