The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
JJJisha Joy Syncfusion Team July 9, 2010 10:33 AM UTC
Hi Knebel,
Thank you for using Syncfusion products.
The number of items to be displayed in dropdownpart while combobox is dropped down, can be set through the DropDownRows property of ListBoxPart in the GridComboBoxCellRenderer class.
Refer the code below: GridComboBoxCellRenderer rend = this.gridControl1.Model.CellRenderers["ComboBox"] as GridComboBoxCellRenderer; GridComboBoxListBoxPart lbpart = rend.ListBoxPart as GridComboBoxListBoxPart; lbpart.DropDownRows = 10;
This code gets the renderer object of the combobox cells in grid and assigns the dropdownrows count to 10. Now, on dropping down the combobox, 10 items can be viewed at a time without a need to scroll.