EasyUI Forum
May 23, 2018, 05:39:47 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: [SOLVED] datagrid with 'view: scrollview' didnot fire onLoadSuccess :(  (Read 443 times)
Coder
Newbie
*
Posts: 17


View Profile
« on: February 11, 2018, 08:47:30 PM »

All simple

Code:

<table id="dgData" class="easyui-datagrid" style="width:99%;height:100%"
toolbar="#dgDataToolbar"
url="//ajx.localhost/?getData"
idField="txID" fitColumns="true" singleSelect="true"
data-options="border:false
, view: scrollview
, autoRowHeight: false
, rownumbers: false
, pageSize: 50
, filterDelay: 800
, remoteFilter: true
, filterPosition: 'top'
, onSelect:function(index,row){ dgDataSelect(index,row) }
, onLoadSuccess:function(){ dgDataRowsLoad() }
, onDblClickRow:function(){ dgDataOpen(index,row) }
, onLoadError:function(){ dgLoadError() }
"
>




in js:

Code:
function dgDataRowsLoad(){
    console.log( "rows loaded!" );
 };

Data row loaded from server and showed, but event didnot fire Sad

ANY HELP, please Smiley
« Last Edit: February 13, 2018, 03:51:55 AM by Coder » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3269


View Profile Email
« Reply #1 on: February 12, 2018, 06:37:46 AM »

The 'onLoadSuccess' event fires when loaded data successfully. Please look at this example https://www.jeasyui.com/demo/test/test2.html
Logged
Coder
Newbie
*
Posts: 17


View Profile
« Reply #2 on: February 13, 2018, 03:51:29 AM »

FANTASTIC! Wink

newly downloaded https://www.jeasyui.com/easyui/datagrid-scrollview.js same as oldes
(file compare dont show any differences)
but with newest lib ALL WORK!

may be high water in sea of tranquility on the moon prevented me Smiley

Thanx!
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!