Are there any near term plans to support GroupBy columns in the WebDataGrid?
When will 11.1 be released with the missing features?
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
Can you provide a sample of how to bind a simple flat datatable to a WebHierarchicalDataGrid "through a WebHierarchicalDataSource"?
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.
regards,David Young
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.