Adding/Removing new rows in Grid dynamically.

Hi,

I am using "GridGroupingControl". I am also using external filter control.
When I apply filter, I want to display 3 more rows at the top of the Grid. These 3 rows will always be frozen.
Also I want to assign values to each of the cells in these 3 rows programatically.

These 3 rows should not be part of underlying datasource since I don't want to persist data from these 3 rows in database.

When displaying these 3 rows, the existing structure of the Grid should not change (i.e. sub-totals and summary should be displayed as shown earlier.) For these extra 3 rows, subtotal and summary should not be displayed.

When filter is cleared, these extra 3 rows should be removed from the grid.

Waiting for reply.

Thanks and Regards,
Vinod Shembekar

1 Reply

AD Administrator Syncfusion Team December 5, 2006 11:16 AM UTC

Hi Vinod,

The attached sample shows how you can customize the order of the various sections in the GroupingGrid Control. It adds three extra rows to grid and displays these rows above the GroupCaptiondetails. The sample also shows how to derive custom elements from the Group and the ChildTable and how to hook them into a customized Engine object. Please refer to the attached sample for implementation.

Here is a Sample.
GGCExtraSectionCaption.zip

Here is a KB article for more details.
How do I efficiently customize the child table/group by using a custom engine?


Best Regards,
Haneef

Loader.
Up arrow icon