EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 08:18:46 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
>
how can i control the datagrid scollbar to special row
Pages: [
1
]
« previous
next »
Print
Author
Topic: how can i control the datagrid scollbar to special row (Read 7151 times)
wade.zhu
Newbie
Posts: 27
how can i control the datagrid scollbar to special row
«
on:
March 13, 2014, 11:01:21 PM »
i have 2 datagrids, one is in the center of the layout, another is in the south
they have the same data.
is it possible to 'scrollTo' a special row on datagrid#2, when i select a row on datagrid#1?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: how can i control the datagrid scollbar to special row
«
Reply #1 on:
March 14, 2014, 11:13:01 PM »
Please call 'scrollTo' method to scroll to the specified row.
Code:
$('#dg').datagrid('scrollTo', index);
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...