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.
I've a parent form, with an mdi child, with a custom panel with a derived data bound grid on it.
I'd like to set the default column sizes when my app starts.
Here is how I'm setting the widths:
Public Sub LayoutGrid()
Dim widths() As Integer = {25, 25, 190, 63, 63, 94}
Me.mcItems.SetColWidth(0, 5, widths)
End Sub
I've tried calling this proceedure in my derived grid's OnCreateControl, in my panel's OnCreateControl and in my child form's Load. None of them do anything. However if I add a button to my panel that calls that proceedure it works just fine.
How can I do this without requiring user interaction? Is there a better way to set the initial layout of the table?