EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 11:53:45 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
>
Bug Report
>
edatagrid with scrollview, addRow problems
Pages: [
1
]
« previous
next »
Print
Author
Topic: edatagrid with scrollview, addRow problems (Read 9035 times)
phunksta
Jr. Member
Posts: 54
edatagrid with scrollview, addRow problems
«
on:
March 02, 2015, 04:41:16 AM »
Hi,
I have an issue using an edatagrid extension, with scollview extension.
At first, using the function
$('#eg').edatagrid('addRow')
, the view jumps past the populated rows, leaving a large white space. The new row is added but becomes invisible. User must cancel to return to normal, but cannot insert their data.
I then tried
$('#eg').edatagrid('addRow',0)
to insert at the 'top' of the table, which works fine if the user has not scrolled/paged yet, but if they do then again the row is inserted outside of the viewable area, and user is stuck as before.
I'm looking for a workaround involving auto-scrolling to the top of the view before invoking addRow, but ideally the 'insert' row would be frozen somehow and would always appear at the top regardless of where the user had scrolled to.
This is easyui 1.4.1, with both extensions freshly downloaded.
Hope you can help!
Logged
Opan Mustopah
Full Member
Posts: 164
Indonesia
Re: edatagrid with scrollview, addRow problems
«
Reply #1 on:
March 02, 2015, 07:47:01 AM »
i had a similiar issue using scrollview in datagrid. but i'm not using edatagrid extension, just modify normal datagrid and adding CRUD feature.
here is my post,
http://www.jeasyui.com/forum/index.php?topic=4465.msg10784#msg10784
, hope it helps
Logged
-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
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...