EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 30, 2024, 12:48:04 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
>
treegrid select one row
Pages: [
1
]
« previous
next »
Print
Author
Topic: treegrid select one row (Read 14497 times)
mars610
Newbie
Posts: 13
treegrid select one row
«
on:
October 30, 2011, 08:18:15 AM »
I want to use treegrid for the use of a line similar to the method 'selectRow' of datagrid selected, if treegrid not provide such API?
code :
$('#tt').datagrid('selectRow',index);
but
$('#tt').treegrid('selectRow',index)
the red color code is not work.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: treegrid select one row
«
Reply #1 on:
October 30, 2011, 06:21:31 PM »
Many methods of treegrid are similar to tree, please use the 'select' method:
$('#tt').treegrid('select', id);
Logged
mars610
Newbie
Posts: 13
Re: treegrid select one row
«
Reply #2 on:
November 03, 2011, 03:17:44 AM »
thinks
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...