We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Changing from grid to grouping grid

Is there a tutorial or a sample of how you would take an existing grid control . And can this be done with a virtual grid control?

1 Reply

AD Administrator Syncfusion Team December 24, 2004 05:09 PM UTC

We do not have such a sample. GridGoupingControl more or less expects to have access to the data through it''s DataSource property. For this reason, it is not like a GridControl which can actually be populated with data, and manipute this data in its own datastore. The GridGroupingControl is more like the GridDataBoundGrid in this respect. The main reason that this is the case is that in order to support grouping, the grid has to have access to all the data in some form. It cannot be truly virtual. In the GridGroupingControl, there is a QueryCellStyleInfo event that allows you dynamic access to the cell style object before it is used, so you can dynamically change cell style properties as in GridControl.QueryCellInfo. But the dat cannot be truly virtual as there are no QueryRowCount or QueryColCOunt events. The size of the GridGroupingControl''s data must be set through its DataSource, and not dynamically through events.

Loader.
Live Chat Icon For mobile
Up arrow icon