EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 05:38:57 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
>
General Discussion
>
scrolling horizontal doesn't work [SOLVED]
Pages: [
1
]
« previous
next »
Print
Author
Topic: scrolling horizontal doesn't work [SOLVED] (Read 4845 times)
iskandarkbr
Newbie
Posts: 36
scrolling horizontal doesn't work [SOLVED]
«
on:
November 27, 2017, 03:29:23 AM »
i created extend function for my treegrid.
it binds event keydown for treegrid's panel that makes user can press key right (keycode=39) and left (keycode=37) on a row so user can move from columns to next/prev columns.
i didn't set fitcolumns to true, but why the horizontal scrollbar dont move to next column while i press 'right key' neither 'left key'?
so i can see the right column by press keyboard, i have use mouse to scroll it.
any idea to solve it?
PS: i've set fitcolumns to false, but it still doesnt work
«
Last Edit: November 28, 2017, 08:23:14 PM by iskandarkbr
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: scrolling horizontal doesn't work
«
Reply #1 on:
November 28, 2017, 02:03:27 AM »
You have to call 'scrollLeft' method to scroll to your cells.
Code:
$(...).scrollLeft(...)
Logged
iskandarkbr
Newbie
Posts: 36
Re: scrolling horizontal doesn't work
«
Reply #2 on:
November 28, 2017, 07:56:45 PM »
great idea, it works. thanks alot sworthy (Y)
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...