Add sfcombobox to stackview at runtime

Hi.

I have a form layout as follows:



I am using horizontal stackview for red portion. Now i want to add sfcombobox to the blue portion of the stackview.
I am using the following code:


but the alignment of the combobox is not somewhat right when i run the app:



please help me out.



3 Replies

MS Mugundhan Saravanan Syncfusion Team September 26, 2018 01:17 PM UTC

Hi Deepa,

Thank you for contacting Syncfusion support.

We have prepared a sample to check the reported issue, the SfComboBox shows as expected inside the UIStackView. Please download the sample from the link given below.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/StackForm1780094252 

If the issue persists at your end, please update us with the modified sample in which the issue occurs, this will help us to provide better solution on this.

Regards,
Mugundhan S. 



DE Deepa October 4, 2018 01:35 PM UTC

Hi,

Thanks for the reply, but this is not my requirement.

I want to achieve following functionality:




PA Paul Anderson S Syncfusion Team October 5, 2018 10:40 AM UTC

Hi Deepa, 
 
We have analyzed the reported issue “DropDown button is not visble” and we are unable to reproduce the reported issue. Based on our understanding with the requirement we have created a sample by opening the ComboBox dynamically. Please check the sample and let us know any other concern. 
  
  
If you still persist the same issue means, please modify the sample as per your scenario so that we can reproduce the issue and help you resolving the issue at your end. 
 
Regards, 
Paul Anderson 
 


Loader.
Up arrow icon