EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
March 28, 2024, 09:26:15 AM
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 onClickRow event
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid onClickRow event (Read 15031 times)
jwilliquor
Newbie
Posts: 15
Datagrid onClickRow event
«
on:
October 02, 2012, 06:49:52 AM »
Is there a way to get the event for an onClickRow of a datagrid. I want to override how the click is handled but i cannot detect keydowns and such. Here's what I would like todo for instance but e is not sent in to this event like it is for the onRowContextMenu event.
onClickRow: function(rowIndex, rowData){
debugger;
if(!e.ctrlKey){
$('#gridMain').datagrid('unselectAll');
}
$('#gridMain').datagrid('selectRow', rowIndex);
}
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...