Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoWidth configuration option #1654

Closed
petyosi opened this issue May 16, 2016 · 4 comments
Closed

AutoWidth configuration option #1654

petyosi opened this issue May 16, 2016 · 4 comments

Comments

@petyosi
Copy link
Contributor

petyosi commented May 16, 2016

Similar to what the Ajax controls expose:

http://docs.telerik.com/devtools/aspnet-ajax/controls/combobox/functionality/dropdown-autowidth

Not sure how this would work with virtualization, though. I think that we can list it as a limitation for the mode.

@valchev
Copy link
Contributor

valchev commented May 18, 2016

Similar behaviour is shown in this how-to article:

The popup will auto-size if it has width: auto:

dropdownlist.list.width("auto");

The widget header (anchor of the popup) will stay unchanged. This is how the Ajax DDL works.

@valchev valchev assigned tapopov and unassigned ggkrustev May 18, 2016
@petyosi
Copy link
Contributor Author

petyosi commented May 20, 2016

Seems good. How hard would be to promote this to a built-in feature?

@tapopov
Copy link
Contributor

tapopov commented Jun 15, 2016

Implemented in c1d26ad

@tapopov tapopov closed this as completed Jun 15, 2016
@crazyfx1
Copy link

crazyfx1 commented Feb 28, 2017

Should this work with virtualization? The documentation doesn't include a hint that virtualization is not supported for autoWidth (and it's actually not working as far as I can tell). http://docs.telerik.com/kendo-ui/controls/editors/combobox/overview#configuration-Adjustment

Furthermore this feature was released in Kendo UI R3 2016 in September 2016, but the Typescript Definitions on NPM @types/kendo-ui are still missing the autoWidth property (i.e. on ComboBoxOptions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants