Hi Mike,
Thanks for using Syncfusion Products.
To enable the insertion of new records and gtting displayed in the GridGroupingContro when using the VirtualMode optimization and setting the AllowCalculateMaxColumnWidth property to false , you need to mark the table as dirty as well as refresh the grid. The same has been displayed using the sample shown below. To implement the same, buttonInsertRecords_Click event has been handled
// Event buttonInsertRecords_Click
// When a table is marked dirty, the subsequent access of its elements will trigger the recategorization of the of all records in the table.
ggc.Table.TableDirty = true;
// this will redraw the parent control and any child control
ggc.Refresh();
In response to your another query related to AllowCalculateMaxColumnWidth, its default value is false. Means, when set to false all the columns will have same width
as oppose to when set to true, where the column with will get adjust according to the length of the character in that particular column.
Try setting the property ,
this.grid.TableDescriptor.AllowCalculateMaxColumnWidth = true;
Please find the sample from the following link in which this code has been implemented.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=AllowCalculateMaxColumnWidth_In_GGC-310474874.zipPlease, do let me know if you have any query.
Regards
Ranjeet