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.
How about when the resize occurs during rowheights.resizetofit, is there an event to set the maximum row height?
>Is there a way to set a maximum row hieght for the grid?
JLJose LacsonAugust 31, 2005 04:30 PM UTC
Found something, don''t know if this is the most elegant way to do it.
Private Sub m_oVGrid_RowHeightsChanging(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridRowColSizeChangingEventArgs) Handles m_oVGrid.RowHeightsChanging
Dim i As Integer
For i = e.Values.GetLowerBound(0) To e.Values.GetUpperBound(0)
If e.Values(i) > 150 Then
e.Values(i) = 150
End If
Next
End Sub
if there is a better way, i would appreciate it.
>
>How about when the resize occurs during rowheights.resizetofit, is there an event to set the maximum row height?
>
>>Is there a way to set a maximum row hieght for the grid?