|
Hi,
I am using datagrid("getSelections") method to select the value of the whole selected row(s), and it works perfectly in Mozilla and Chrome but not in Explorer. In explorer $('#dg').datagrid('getSelected') returns null if I select one row. Please find below the code I am using.
if ($('.datagrid-cell-check input:checkbox:checked').length>1){ showInfoMsg('Select only one row to edit.'); }else{ var row = $('#dg').datagrid('getSelected'); if (row){ document.location.href = "updColumn.cfm?col_id="+row.col_id+"&rpt_id=#getParam("rpt_id")#"; } else { showInfoMsg('Select a row you want to edit.'); } } Please tell me if this is an existing problem in explorer and if there is an work around.
|