combobox and GridGroupingControl

I was trying to load a GGC with comboboxes. However, I found that I had to load the GGC before I could use it in a button callback. Otherwise, I receive a "Object reference not set to an instance of an object." error. I am not sure why I have to load the GGC in the constructor. I have included an example. Why do I have to load the GGC early?

Thanks

Ray.

GridLoad.zip

1 Reply

AD Administrator Syncfusion Team March 1, 2007 05:52 PM UTC

Hi Ray,

Try calling the ReInitialize method after setting the underlying datasource of the grid. Please try the modified attached sample and let me know if this helps.

_Grid.DataSource = dt;
_Grid.Reinitialize();

Here is a modified sample.
GridLoad_9f349857.zip

Best regards,
Haneef

Loader.
Up arrow icon