I am using IgniteUi 2013.2 & Asp.Net MVC 4.5
My web application is heavily designed using twitter bootstrap for form layouts and responsive rendering.
I have used [div class=col-lg-xx ]
to render my page.
The problem is with the responsiveness of igCombos. The default
[div class="col-lg-3"] [inpt typ=text /] [/div]
renders textboxes which are responsive and hence do not have a fixed width and adjust themselves with the width of the browser window. Howerver the igCombo is not getting the responsive behavior of bootstrap although I have used
to render them. The width of these combos are fixed and do not adjust themselves with the viewport.
Question1: I can I apply twitter bootstrap classes to the igCombos to make them responsive or is there any other way to make them responsive?
Question2: Also if I want to change the styling of the combo using css(bootstrap) classes how can I do that ? How can I apply css classes to the combos ? Because the igCombo does not use <select >immediately, therefore where do I apply css class? There are too many span tags also inside the igCombo. How can I apply my css class to them to change their styling.
Hello Imran,
Thank you for your patience while I was looking into this.
After discussing this matter with our developers what they suggested is using a div to wrap the igCombo and setting the col-lg-3 class to this div element. Afterwards set the combo width to 100% via its width option.
They believe this will help you achieve your requirement.
If you are still experiencing any issues after applying the suggested approach could you please send an isolated sample, where your issue is reproducible as well as a brief explanation of what will be the expected behavior for you.
This is going to be highly appreciated and will help us find the best way for achieving the required look and feel of the igCombo.
Please feel free to contact me if you have any additional questions regarding this matter.
Please feel free to contact me if you need any further assistance with this matter.
Thank you for getting back to me.
I am glad that you have been able to resolve your issues according to my suggestion.
Regarding styling igCombo I believe you will find the following article from our documentation useful:
http://help.infragistics.com/Doc/jQuery/Current/CLR4.0?page=igCombo_Using_Themes.html
Additionally, I noticed that similar questions have been discussed in the following threads in our forum:
http://ko.infragistics.com/community/forums/t/77993.aspx
http://ko.infragistics.com/community/forums/t/86231.aspx
I hope you will find this information helpful.
Please let me know if you need any further assistance with this matter.
Thanks. Your solution worked. Setting its width to 100% did it. Thanks again!
Any ideas regarding the styling of the combos? Can I apply my custom css classes to them?