Hello,
I want to enable and display merged cell in one column only.I'm using webhierachcaldatagrid.
Hello Neelam,
Cell Merging behavior is supported in the WebHierarchicalDataGrid only when used along with Sorting. The reason is that Sorting will make cells with the same values appear next to each other, thus allowing merging those cells. Please review the sample with Cell Merging with Sorting and the Cell Merging Help topic and let me know if you have further questions on the matter, I will be glad to help.
Hristo
Hi,
I'm adding column to sort but can't see the effects.
WebHierarchicalDataGrid1.GridView.Behaviors.Sorting.SortedColumns.Add(GridColumn, Infragistics.Web.UI.SortDirection.Descending)
Please make sure that you have enabled the CellMergign behavior:
<Behaviors> <ig:Sorting EnableCellMerging="true" /> </Behaviors>
Does that make any difference now ?
No,I already have this in sorting tag:
<ig:WebHierarchicalDataGrid ID="WebHierarchicalDataGrid1" EnableAjax="false" AutoGenerateColumns="false" runat="server" Width="100%" EnableDataViewState="true"><Behaviors> <ig:ColumnResizing> </ig:ColumnResizing> <ig:ColumnMoving> </ig:ColumnMoving> <ig:Filtering> </ig:Filtering> <ig:Paging PagerMode="NextPreviousFirstLast"> </ig:Paging> <ig:RowSelectors> </ig:RowSelectors> <ig:Selection> </ig:Selection> <ig:Sorting EnableCellMerging="true" SortingMode="Multi"></ig:Sorting> <ig:SummaryRow></ig:SummaryRow> </Behaviors> </ig:WebHierarchicalDataGrid>
i want some columns to be sorted on page load.
The problem was in a place where I's adding the column and thus I've solved this problem.
Thanks for your assistance.