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?
ADAdministrator Syncfusion Team June 12, 2003 02:16 AM
You could put a flag in there.
bool inOnQueryRowCount = false;
inOnQueryRowCount = true;
// your code
inOnQueryRowCount = false;