EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 19, 2025, 07:39:54 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
>
Bug Report
>
onContentMenu doesn't work with treegrid when idField isn't "id"
Pages: [
1
]
« previous
next »
Print
Author
Topic: onContentMenu doesn't work with treegrid when idField isn't "id" (Read 8602 times)
kirin
Newbie
Posts: 1
onContentMenu doesn't work with treegrid when idField isn't "id"
«
on:
January 13, 2015, 05:27:57 AM »
If the treegrid's idField set to not equal "id", the event onContentMenu catched row is null, so program doesn't know user right click on which row.
env: V1.4.1
«
Last Edit: January 13, 2015, 05:38:56 AM by kirin
»
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: onContentMenu doesn't work with treegrid when idField isn't "id"
«
Reply #1 on:
January 13, 2015, 08:22:24 AM »
If you want to retrieve a row from the treegrid component, you must set the 'idField' property that should be unique in the current page rows.
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...