C1COMBO dropdown height Fixed - Using Empty Rows

Posted by: rizwanulhaqonly on 4 May 2018, 3:48 pm EST

    • Post Options:
    • Link

    Posted 4 May 2018, 3:48 pm EST - Updated 4 October 2022, 2:43 am EST

    Dear Sir / Madam,

    I am trying to create c1combo / c1combobox. I want to fixed it dropdown height e.g, Height = 350. I use following code to adjust / fix heigh but not succeed. Please help me.

    c1Combo1.Splits[0].Height = 150;

  • Posted 4 May 2018, 3:51 pm EST - Updated 7 November 2023, 5:59 pm EST

    I wish c1combo looke like the below image… (Autocomplete and fixed with using EMPTYROWS property)

  • Posted 7 May 2018, 2:55 am EST

    Hello,

    You can use the ItemHeight property of C1Combo to set the height for the items displayed in the dropdown. Also, you can set the EmptyRows property to do the needful. You can learn more about the same from the below mentioned documentation link:

    http://help.grapecity.com/componentone/NetHelp/c1list/webframe.html#C1.Win.C1List.4~C1.Win.C1List.C1Combo~EmptyRows.html

    For C1ComboBox, the height for the items can be set using the ItemMode.

    For C1ComboBox, set:

    ItemMode = C1.Win.C1Input.ComboItemMode.HtmlPattern;

    HtmlPattern = “

    {0}

    Best Regards,

    EshaCombo_Test.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels