EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 02:00:06 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
datagrid() method not working in IE
Pages: [
1
]
« previous
next »
Print
Author
Topic: datagrid() method not working in IE (Read 7050 times)
Ashanka
Newbie
Posts: 2
datagrid() method not working in IE
«
on:
May 12, 2015, 03:13:42 AM »
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.
Logged
jarry
Administrator
Hero Member
Posts: 2298
Re: datagrid() method not working in IE
«
Reply #1 on:
May 12, 2015, 07:17:51 AM »
Please refer to this example
http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=DataGrid%20Selection
Logged
Ashanka
Newbie
Posts: 2
Re: datagrid() method not working in IE
«
Reply #2 on:
May 12, 2015, 11:38:08 PM »
Hi Jarry,
Thank you for the reply. I am using the same logic as the example you mentioned. It works perfectly in Mozilla and Chrome but not in Explorer.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...