Hi, I have been using the UltraWebGrid, rather successfully, with creating objects and binding them in the code behind. I create a Bins list that holds type Bin. This is the parent band/rows which are essentially the days of the week (Sunday - Saturday).
Inside each of those there is another set of lists, 6 different lists. So for example, List<obj1>, List<obj2>, etc. These are meant to represent different schedule types, like regular hours, leave hours, overtime hours, etc. Each object inside those lists has it's own properties that I want to be the headers for the respective rows.
However this doesn't work, when I bind it all to the grid it only gives me the parent row/band and one of the children, just the first. Is there any way to make this work with what I'm trying to do?? Need help ASAP.
Hi jasonwilczak,
It has been some time since your post, however in case you still need assistance I would be glad to help.
In your scenario I would suggest that you build your data source structure through the WebHierarhicalDataSource control as described at:
http://blogs.infragistics.com/blogs/alex_kartavov/archive/2010/04/08/binding-webhierarchicaldatagrid-to-ienumerable.aspx
Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Feel free to contact me if you have any questions.