Hi All,
I am using webdatagrid 12.1 .
I am doing colspan. but in following code grid returning undefined.
var grid = $find('<%= this.webdatagrid1.ClientID%> ');
var rows = grid.get_rows();
var firstRow = rows.get_row(0);
var fistCellElement = firstRow.get_cellByColumnKey('PaymentType').get_element();
fistCellElement.colSpan = 2;
if I use below code grid is giving value Null
grid = $find('<%=webdatagrid1.ClientID%>');
Please help me.
Thanks in Advance.
Thanks & Regards,
Ajay Kandagatla
Hello,
Please let me know if you have any further questions on the matter, I will be glad to help.
Hi,
1) That event didn't work fine. still it's returning null.
Please see the attached sample where it is demonstrated how a reference to the grid is get at the Initialize event using
var grid = $find('<%= this.webdatagrid1.ClientID%>');
2) I also want to do RowSpan in grid on loading not on sorting
- http://ko.infragistics.com/community/forums/t/93980.aspx
Please let me know if you have further questions on 1). For every discussion on issue 2) please use the other thread.
I hope this helps.
That event didn't work fine. still it's returning null.
I tried many ways to achieve rowspan, colspan in my grid.
Please check the attachment and implement rowspan in this.
I want in every column Repeated values should display only once and merge the remaining cells containing same values.
I amusing webdatagrid 12.1
Regards,
Ajay K
Hello Ajay,
Did the suggested about the Initialize event helped ? If so please confirm that. About your next questions - please provide a working sample that I could investigate for you, since you have only sent a small part of your code.
I would also like to note that Infragistics' policy is about keeping a different thread/case for every different issue customers face. Please have this in mind when enquiring about some issue not related to the current one.
when I use EnableClientRendering it showing error as LastName not found in following code
<%#DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).DataItem, "LastName")%>,
Please see attached code and guide me to implement rowspan and collspan in it.