EasyUI Forum
May 09, 2024, 03:24:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bufferview and scrollview cannot load data  (Read 2408 times)
officecode
Jr. Member
**
Posts: 69


View Profile Email
« on: January 21, 2019, 07:52:43 AM »

In the following sample code, if the 'view' is removed, the data can be loaded and displayed normally. If you add 'view', you can see the server's return data in the console, but the datagrid display is empty.
Why is that? Where is the writing wrong? Please correct me, thank you!

Code:
$('#p').datagrid({
url:'test.php',
columns:[[......]],
view:scrollview,
})
Logged
officecode
Jr. Member
**
Posts: 69


View Profile Email
« Reply #1 on: January 21, 2019, 07:54:00 PM »

The datagrid must have a height attribute.
solved!
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!