I've created this class to assist in creation of non-editable columns:
class NonEditGridColumnClass : Column {
public string type = \"standard\";
public NonEditGridColumnClass(string name, string type)
: base(name) {
this.FitMode = ColumnFitMode.SmartFit;
this.AllowSizing = true;
this.ImageAlign = ContentAlignment.MiddleCenter;
this.AllowMove = false;
this.ShowTooltips = true;
this.Caption = name;
this.ReadOnly = true;
this.type = type;
}
}
If it is used to create say 50-100 rows, performance seems to be OK. BUt with 900 rows, I have to wait 5-10 times longer for the grid to populate. Is there anything I'm doing wrong here?