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?
Hello FireStorm12 ,
Thank you for the follow up.
Currently you can add the group fields before data binding the first time like in the sample:
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Display/Multi-Column-Headers/Default.aspx?cn=data-grid&sid=c97530da-4391-4912-9d8f-ce860d1860fe
Currently the issue is in development and if you want it fixed the next week I should request untested build for this.
As temporary solution you can try adding the group fields in a earlier phase of the page lifecycle during post back.
I tried at PreInit and they are added but on the second post back.
I will update you with more info regarding the dev issue through the case
Is this something that you expect to be fixed within the next week or so? Or do I need to find another way to do this? (I need to get my application released very soon.)
Hello FireStorm,
Thank you for the sample and the clarification.
There is a development issue created already regarding this.
Issue 96233: Adding columns dynamically doesn't work when group field is present
I will contact you through your support ticket.
I am inserting the columns in response to a button click. My code is attached.
Hello FireStorm12,
Thank you for the follow-up.
Can you please clarify what do you mean by "inserting the columns after the grid has already been displayed"?
Are you adding them in a later phase of the lifecycle , or at a button click handler, etc?
Can you modify the sample which I have uploaded in order to replicate the issue?
Hope hearing from you.