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.
Unfortunately, activation email could not send to your email. Please try again.

What are the conditions/scenarios for using GridControl, GridDataboundGrid and GroupingGrid?

Thread ID:

Created:

Updated:

Platform:

Replies:

18384 Aug 30,2004 06:12 AM Aug 30,2004 07:11 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 30, 2004 06:12 AM

What I''d really like to do is have a databound grid that can be grouped. TIA

Administrator [Syncfusion]
Replied On August 30, 2004 06:18 AM

If you want grouping support, you need to use the GridGroupingControl. It is nound to a datasource like GridDataBoundGrid. GridControl is a cell oriented grid that allows you to set styles on a cell by cell, row by row, column by column basis. You can also use it in a virtual mode that allows it to hold not data, dynamically getting its data through events that you handle to provide the data. GridDataBoundGrid is a column oriented grid that needs to have a datasource set. It is the closest control to a Windows Forms DataGrid. It can display hierarchical data. But it cannot be grouped. GridGroupingControl allows you to group a Datasource. It allows for summaries (both built-in and custom), and true nested tables.

Administrator [Syncfusion]
Replied On August 30, 2004 06:42 AM

Hi Clay, Thanks for clarifying this for me. I was wondering if it is possible to place controls inside cells of a GridGroupingControl. For example, can I put a combobox into a "Select State" column of a GridGroupingControl? I noticed that the GridGrouping samples did not do this. Why? I also noticed that for Date types, it automatically used a month calendar control. >If you want grouping support, you need to use the GridGroupingControl. It is nound to a datasource like GridDataBoundGrid. > >GridControl is a cell oriented grid that allows you to set styles on a cell by cell, row by row, column by column basis. You can also use it in a virtual mode that allows it to hold not data, dynamically getting its data through events that you handle to provide the data. > >GridDataBoundGrid is a column oriented grid that needs to have a datasource set. It is the closest control to a Windows Forms DataGrid. It can display hierarchical data. But it cannot be grouped. > >GridGroupingControl allows you to group a Datasource. It allows for summaries (both built-in and custom), and true nested tables.

Administrator [Syncfusion]
Replied On August 30, 2004 07:11 AM

Yese, you can put a combobox in a column in a GridGroupingControl. You add it to the style you find in ColumnDescriptor.Appearance.AnyRecordFieldCell. You can do this from the designer or from code. this.gridGroupingControl1.TableDescriptor.Columns["someColumn"].Appearance.AnyRecordFieldCell.CellType = "ComboBox"; //also set the DataSource, DisplayMamber, ValueMember

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;