Hi,
I have achieved columns alignment across different levels of band but I need to span my data in 2nd level 1st column across multiple columns. How can this be done? am using 10.3 version
Thanks,
Arif
Hello meetarifmd,
That would visually merge the cells on the client. However keep in mind that:
1) This setting may be lost over the ajax callbacks of the grid since $(document).ready is fired only on full page postbacks. You could use the grid’s client side Initialize event instead.
2) You would have no control over this setting on the server side.
3) There might be a misalignment between the cells and the headers if you don’t set the colSpan for the header th element as well.
Let me know if you have any questions or concerns.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
am using hierarchicaldatagrid. javascript does it
<script type="text/javascript"> $(document).ready( function () { $("table td a[id*='COLUMN_ID']").parent().attr("colspan", 5); } ); </script>
Thank you for posting in our forum.
Are you using the WebHierachicalDataGrid or the UltraWebGrid control?
For the WebHiercahicalDataGrid we currently do not have a cell merging feature via which you could merge cells horizontally.
For the UltraWebGrid you can merge cells manually so that they can span horizontally , vertically or both. There’s more on how you can set this up on our online documentation here:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebGrid_Merging_Cells_Manually.html