I would like present a grid that has primary divisions by month, where each month has four separate columns under it.
Can I set up something like this using WebDataGrid?
The only differences I see between your code and mine are:
Note that when I step through the code, the grouped columns, with the subordinate columns, are all there in memory; but nothing renders in the browser.
I also noticed, that when I look at the columns in the debugger's Watch window, there is no DataFieldName property for the inserted columns.
Hello FireStorm12,
Thank you for the follow-up.
I created a simple sample trying to reproduce the issue but with no avail.
Can you please refer to the code attached and modify it in order to encounter the behavior?
Hope hearing from you
I also tried using all BoundDataFields. Same result.
I am doing this dynamically in the C# code-behind on the server. I am adding both the grouped columns and the columns in the code, not the HTML.
Any suggestions?
Does this work only with BoundDataFields? When I try it with UnboundFields it just wipes the grid out completely.
When I step through the code, I see the columns getting added, but after binding the grid rows disappear entirely.
Hello FireStorm12 ,
Thank you for posting in our forums.
For the purpose I recommend you using Multi - Column headers.
The feature is available in the new release 11.2
Please refer to the online samples
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Display/Multi-Column-Headers/Default.aspx?cn=data-grid&sid=c97530da-4391-4912-9d8f-ce860d1860fe
and documentation
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2?page=WebDataGird_Multi_Column_Headers.html
regarding this.
Let me know if you need further assistance.