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.
Hi,
I've created a class which inherits from GridControl. In my OnQueryRowCount override I'm want to set the default row height. However, this is putting me in an endless loop. The line which is looping is:
base.Model.Rows.DefaultSize = newValue;
Is there another way for me to set the default size or to suppress the QueryRowCount?
Thanks,
Sue
ADAdministrator Syncfusion Team June 12, 2003 06:16 AM UTC
You could put a flag in there.
Somthing like:
bool inOnQueryRowCount = false;
void OnQueryRowCount(...)
{
if (inOnQueryRowCount)
return;
inOnQueryRowCount = true;
// your code
inOnQueryRowCount = false;
}
Stefan