EasyUI Forum
April 19, 2024, 01:38:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid bufferview in tooltip not working  (Read 4980 times)
sky-t
Full Member
***
Posts: 145


View Profile
« on: January 01, 2021, 11:29:42 PM »

Hi there,

i am using a datagrid with bufferview inside a tooltip. When i scroll down the datagrid the rows do not load when the datagrid is placed in a tooltip. is there a solution?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: January 05, 2021, 12:11:58 AM »

Please look at this example http://code.reloado.com/oqizes4/edit#preview. It works fine.
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #2 on: January 05, 2021, 02:33:39 AM »

Hi jarry,

thank you very much - this works!!

But if the datagrid in the tooltip has been shown it can't be reloaded by other data / rows.
How can the datagrid been updated?
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #3 on: January 05, 2021, 06:49:32 AM »

An other problem:

When rows are deleted by datagrid('deleteRow', index); the buffer scroll doesn't work anymore!
Any solutions for that?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #4 on: January 06, 2021, 11:59:23 PM »

Please try to download the newest 'datagrid-bufferview.js' file from https://www.jeasyui.com/extension/datagridview.php
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #5 on: January 07, 2021, 07:25:37 AM »

Hi jarry,

thank you for your reply.

When is this new datagrid-bufferview.js - file an delete a row in the datagrid i get the following error:
Code:
datagrid-bufferview.js?__WB_REVISION__=0eaeddb23a1ecc2049c1bdbae5c3e0b4:184 Uncaught (in promise) ReferenceError: dc is not defined
    at Object.deleteRow (datagrid-bufferview.js?__WB_REVISION__=0eaeddb23a1ecc2049c1bdbae5c3e0b4:184)
    at _842 (jquery.easyui.all.js?__WB_REVISION__=2a23d606edf7d9c9cbca2025c065301e:11475)
    at HTMLTableElement.<anonymous> (jquery.easyui.all.js?__WB_REVISION__=2a23d606edf7d9c9cbca2025c065301e:12015)
    at Function.each (jquery-3.4.1.min.js?__WB_REVISION__=220afd743d9e9643852e31a135a9f3ae:2)
    at k.each (jquery-3.4.1.min.js?__WB_REVISION__=220afd743d9e9643852e31a135a9f3ae:2)
    at Object.deleteRow (jquery.easyui.all.js?__WB_REVISION__=2a23d606edf7d9c9cbca2025c065301e:12014)
    at Object.deleteRow (datagrid-filter.js?__WB_REVISION__=8c1aeced3ec602fc638e2524d758a9da:70)
    at k.datagrid (jquery.easyui.all.js?__WB_REVISION__=2a23d606edf7d9c9cbca2025c065301e:11648)
    at deleteReminder (<anonymous>:610:30)

Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #6 on: January 07, 2021, 11:46:46 PM »

This issue has been fixed. Please download it from https://www.jeasyui.com/extension/datagridview.php.

http://code.reloado.com/oqizes4/3/edit#preview
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!