Hi,
I'm trying to set an Attribute to the row.item[2] .
Is there any workaround to add a colspan="3" to row.item[2]
Thanks in Advance
Regards,
Abhishek
Hello AbhishekWebDataGrid does not support cell merging at this moment. Feel free to submit this feature request to our development team here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx
Hello Abhishek,Please let me know if you have more questions about this case.
Hello Nikifor,
We are facing the same issue in the infragistics web 13.2.2.20132.2294. Rowspan we are acheive in the intialize event
function igrPaymentRequestForMedical_Grid_Initialize(sender, eventArgs) { debugger; var grid = $find("<%= igrPaymentRequestForMedical.ClientID %>"); var rows = grid.get_rows(); var totalRows = grid.get_rows().get_length(); var rowSpan = 0; for (var count = 0; count < totalRows; count++) { var currentRow = rows.get_row(count); var CurrentCellElement = currentRow.get_cellByColumnKey('ConsultantName').get_element(); var RowspanValueElement = currentRow.get_cellByColumnKey('RowspanValue').get_element();
if (RowspanValueElement.outerText.trim() == "1") { CurrentCellElement.rowSpan = 1;
} else if (parseInt(RowspanValueElement.outerText) > 1) { var rowspan = parseInt(RowspanValueElement.outerText); for (i = rowspan - 1; i > 0; i--) { var previousRow = rows.get_row(count + i); var PreviousCellElement = previousRow.get_cellByColumnKey('ConsultantName').get_element(); PreviousCellElement.style.display = "none"; } CurrentCellElement.rowSpan = parseInt(RowspanValueElement.outerText); CurrentCellElement.ColSpan = 4; } } }
When we set for Colspan is not working. Please help me how to proceed