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.
Private Sub myGroupingGrid_TableControlCurrentCellShowingDropDown(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCurrentCellShowingDropDownEventArgs) Handles myGroupingGrid.TableControlCurrentCellShowingDropDown
Dim grid As GridControlBase = CType(sender, GridControlBase)
Dim cc As GridCurrentCell = CType(grid.CurrentCell, GridCurrentCell)
Dim cr As GridDropDownGridListControlCellRenderer = CType(cc.Renderer, GridDropDownGridListControlCellRenderer)
CType(cr.ListControlPart, GridDropDownGridListControlPart).DropDownRows = 10
End Sub
I am using the above code to set the number of dropdownrows of my GridListControl in a GroupingGrid.
I used the same code for GridListControl in GridDataboundGrid and it worked.
I am getting an invalid Cast at line
Dim grid As GridControlBase = CType(sender, GridControlBase)
Please help!
Thanks,
Bhandhavi.