Are there any near term plans to support GroupBy columns in the WebDataGrid?
Hi cantrellr,
At this time, I do not believe there are plans for this. The WebDataGrid is mean to display flat data, whereas group by is getting hierarchical. If you require this, you will need to use the WebHierarchicalDataGrid and simply have one level of data. If you would like to see this supported directly in the WebDataGrid, you can always submit a feature request for it.
regards,David Young
That is unfortunate. It is the main reason we are probably going to have to say goodbye to Infragistics.
Our users construct queries and the results get poured into the grid where they may need to group, filter, multi-col sort, etc. We allow the user to turn these feature off and on from a popup menu.
So, we do not know in advance what our users may want to do. Therefore, according to you we would have to use WebHierarchicalDataGrid as our grid surface, in case they want to group. We have found that binding a single table to that grid to be a kludge at best and that the grid itself to be short of the feature set we used to engage in the old UltraWebGrid.
So long old friend.
Hello,
Sorry to hear that you are having trouble getting the controls to work as needed within your application. For outlook groupby, hierarchical grid would be the right control, as it provides the necessary structure to display grid in a hierarchical manner.
If it is still not too late, I would like to speak with you and understand more about your scenarios. I can be reached at murtazaa@infragistics.com
Best,
Taz.
Taz,
We're in the same boat as the other user. We have been incredibly disappointed and frustrated by Infragistics new WebDataGrid and the lack of features compared to the UltraWebGrid. The scenario is simple. We want a grid that I can bind to a non-hierarchical data source that supports grouping. You know, like the UltraWebGrid did. Why on earth do you tie grouping and a hierarchical data source together? It wasn't required in the UltraWebGrid. My data isn’t hierarchical and doesn’t need to be. I need to be able to allow users to simply group data from a flat table. Why do you need “to understand more about your scenarios”?
This is just one of many features that the UltraWebGrid offered that the "new", far inferior, WebDataGrid fails to deliver. Infragistic’s decision to refuse to continue to adequately support the UltraWebGrid despite the fact that the “replacement” is woefully inferior and lacking in comparable features is going to drive many customers away. The overall lack of quality in the new controls in general is really quite disappointing. Given our experience across the board with the “new” controls combined with the low level of support, we are unlikely to ever buy a control from Infragistics again.
H sbeeler,
When you are grouping the data, it becomes hierarchical rendering. You do not have to make your data hierarchical. You can keep it flat and simply bind it to the WebHierarchicalDataGrid through a WebHierarchicalDataSource. This will handle the job of giving the grid the data in the right format. In 11.1, Column Moving, Column Resizing, and Row Edit Template will officially be supported in the WebHierarchicalDataGrid. We are also adding checkbox and unbound fields to bring the grids features that had thus far been missing. If there is a feature that you need to have, let us know so that we can prioritize them correctly to please you, the customer. In the meantime, there may be a workaround that we can give to you. As Taz said, reach out to him with features that you require in the WebDataGrid or WebHierarchicalDataGrid.
Can you provide a sample of how to bind a simple flat datatable to a WebHierarchicalDataGrid "through a WebHierarchicalDataSource"?
Hi,
If you're using a DataTable, you can put it through a WHDS or through a DataSet. I'll show both options. In both cases, I assume GetData() returns your flat DataTable.
DataSet:
DataTable table = GetData(); DataSet ds = new DataSet(); ds.Tables.Add(table); this.WHDG1.DataSource = ds;
WebHierarchicalDataSource:
aspx:
<ig:WebHierarchicalDataGrid ID="WebDataGrid1" runat="server" DataSourceID="WebHierarchicalDataSource1">
</ig:WebHierarchicalDataGrid>
<ig:WebHierarchicalDataSource ID="WebHierarchicalDataSource1" runat="server"> <DataViews> <ig:DataView ID="DataTableView" /> </DataViews> </ig:WebHierarchicalDataSource> code-behind: this.WebHierarchicalDataSource1.DataViews[0].DataSource = GetData();
If you need help, don't hesitate to ask.
-Dave