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 am using GridDataVisibleColumn to create the columns in my grid and I set the minimum width of each column by using gridDataVisibleColumn's MinimumWidth.
Is there a way to set the minimum height of the rows in gridDataControl?
The problem I have is that if I allow a user can hide a row. Then there is no way to get the row back. So I was thinking I could give a minimum row height of for example 2. So that the hidden row will still have height of 2 and can be expanded if the user double clicks on it.
A similar issue is when a user hides a column. I give it a minimum column width of 2. And part of the column is still visible so that it can be expanded if user double clicks on it.
in documentation section 4.1.3.7 I say this this.gridControl.Model.HiddenBorderBrush = Brushes.Red ; this.gridControl.Model.HiddenBorderThikness = 3;
But I could not find these properties in GridDataControl.
RARajasekar Syncfusion Team November 3, 2011 08:53 AM UTC
Hi Mary,
You can achieve your requirement by using the below code snippet,
Code Snippet[C#]
dataGrid1.ResizingColumns += new GridResizingColumnsEventHandler(dataGrid1_ResizingColumns); dataGrid1.ResizingRows += new GridResizingRowsEventHandler(dataGrid1_ResizingRows);