EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sky-t on January 01, 2021, 11:29:42 PM



Title: datagrid bufferview in tooltip not working
Post by: sky-t 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?


Title: Re: datagrid bufferview in tooltip not working
Post by: jarry on January 05, 2021, 12:11:58 AM
Please look at this example http://code.reloado.com/oqizes4/edit#preview. It works fine.


Title: Re: datagrid bufferview in tooltip not working
Post by: sky-t 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?


Title: Re: datagrid bufferview in tooltip not working
Post by: sky-t 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?


Title: Re: datagrid bufferview in tooltip not working
Post by: jarry 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


Title: Re: datagrid bufferview in tooltip not working
Post by: sky-t 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)



Title: Re: datagrid bufferview in tooltip not working
Post by: jarry 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