EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 04, 2024, 12:34:09 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
>
editable datagrid's editor on clicked not select the row?
Pages: [
1
]
« previous
next »
Print
Author
Topic: editable datagrid's editor on clicked not select the row? (Read 5603 times)
cdtuql
Newbie
Posts: 26
editable datagrid's editor on clicked not select the row?
«
on:
January 06, 2015, 03:21:34 AM »
in editable datagrid ,I click on the cololumn's editor, but it's not select the row ,I want to select the row also when i click on the editor ? is there any way ?
Logged
fengguangyin
Newbie
Posts: 5
Re: editable datagrid's editor on clicked not select the row?
«
Reply #1 on:
June 09, 2015, 12:49:05 AM »
I want to know too? Anyone knows?
Logged
fengguangyin
Newbie
Posts: 5
Re: editable datagrid's editor on clicked not select the row?
«
Reply #2 on:
June 09, 2015, 02:30:05 AM »
I find this way.
$(".datagrid").on("focus","input",function(e){
var dgRowIndex = $(this).parents(".datagrid-row-editing").attr("datagrid-row-index");
$('#order_sale_datagrid').datagrid("selectRow",dgRowIndex);
});
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...