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

igCombo: setter method for the "mode" option #117

Closed
Cristina-Alboni opened this issue Aug 31, 2017 · 1 comment
Closed

igCombo: setter method for the "mode" option #117

Cristina-Alboni opened this issue Aug 31, 2017 · 1 comment

Comments

@Cristina-Alboni
Copy link

I can't find a way in which the "mode" option can be set on the fly.
In the documentation I see only the Get method, not the Set.
(https://www.igniteui.com/help/api/2017.1/ui.igcombo#options:mode)

@kdinev
Copy link
Member

kdinev commented Sep 1, 2017

Hi @Cristina-Alboni

The mode option is read-only. The structure of the combo is different in different modes and switching between modes will essentially require re-initializing and re-rendering of the igCombo. Changing the mode can be done by destroying the current combo, and initializing a new one with the cached configuration, but with changed mode.

@kdinev kdinev closed this as completed Feb 1, 2018
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

4 participants