[Solved] - Checkedchange event question?

Hi,
I need the event trigger only when itemchecked (combobox multiselection), I used textchanged, selectedindex(if i not select, it still trigger) and selectedvalue even but it doesn't work, is there an event similar to checkedchange? Or am I missing something?
Also how do i change this height?
Thanks!


7 Replies

DV Duraimurugan Vedagiri Syncfusion Team June 1, 2020 12:10 PM UTC

Hi GridLock,

Thanks for contacting syncfusion support.

Query 1:

With help of SfComboBox.DropDownListView.ItemChecked or SfComboBox.DropDownListView.ItemChecking event handler, you can achieve to your requirement.

Query 2:

SfComboBox doesn't have support to change the gripper area height.

Regards,
Durai


TG The GridLock June 1, 2020 04:29 PM UTC

Hi Durai,
How can I set it up to look briefness (thinner)? such as dropdown.height?



DV Duraimurugan Vedagiri Syncfusion Team June 2, 2020 07:55 AM UTC

Hi GridLock,

Thanks for your update.

You can change the SfComboBox dropdown control bottom gripper area height with help of SfComboBox.DropDownControl.PopupHost.Height property in SfComboBox.DropDownOpened event handler.

Code snippet
this.sfComboBox1.DropDownOpened += SfComboBox1_DropDownOpened;

private void SfComboBox1_DropDownOpened(object sender, EventArgs e) 
{ 
    this.sfComboBox1.DropDownControl.PopupHost.Height = 105; 
} 

Regards,
Durai


TG The GridLock June 2, 2020 08:37 AM UTC

Hi Durai. that's it! 
More question: can i align this? after set button width then they not align.right with dropdown.
Thanks.




DV Duraimurugan Vedagiri Syncfusion Team June 3, 2020 06:36 AM UTC

Hi GridLock,

Thanks for your update.

Query 1: After set the button width, it doesn’t align properly at right side of the dropdown

We have checked reported query, but we are unable to reproduce at our end.

Here is the video and sample that works as expected.

Sample: https://www.syncfusion.com/downloads/support/forum/154731/ze/Sample1743365234.zip  

Video: https://www.syncfusion.com/downloads/support/forum/154731/ze/ComboBoxBtnIssueScr472693442.zip  

If our replication procedure is different, kindly modify our sample into issue reproducible, it would be helpful for us to provide the solution as soon as possible.

Query 2: Can I align dropdown buttons?

Yes, you can align by assign the point of dropdown button with help SfComboBox.DropDownControl.OkButton.Location and SfComboBox.DropDownControl.CancelButton.Location property in SfComboBox.DropDownOpened event handler.

Regards,
Durai



TG The GridLock June 3, 2020 03:48 PM UTC

Based on your videos, I fixed it. works well durai
Thanks!


DV Duraimurugan Vedagiri Syncfusion Team June 4, 2020 08:49 AM UTC

Hi GirdLock,

Thanks for your update.

Please let us know if you need any further assistance

Regards,
Durai


Loader.
Up arrow icon