Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
$find() is returning undefind
posted

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

 

Parents Reply Children