I am using UltraWebGrid in my application. Can anyone tell me how to merge cells of a row of UltraWebGrid?
Is it possible to merge header(one heading for all row) also?
Also I want to allow user to select only one cell at a time (not whole row). How to achieve this?
Thanks.
Hello,
The cells can be merged vertically and horizontally. Here are few help links to show how to do this:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/ExcelEngine_Merge_Cells.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebGrid_Merge_Cells_Automatically.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebGrid_Merging_Cells_Manually.html
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/Infragistics35.WebUI.UltraWebGrid.v9.1~Infragistics.WebUI.UltraWebGrid.UltraGridCell~ColSpan.html
Please visit the following link to learn how to merge headers:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebGrid_Using_a_Multi_Column_Header.html
The DisplayLayout.CellClickActionDefault property needs to be set to CellClickAction.CellSelect for the user to select a cell with a single click.
Hope this helps.
Thanks
Sarita
Thanks...!
In case of merge, suppose I have two rows mergerd with a common data as showed below.
Now, can the user edit the value 1 and how would this be handled. I assume that physically there are 2 rows, so would both the rows have the changed value if accessed via code?
Regards,
Deven