EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 04, 2024, 05:16:45 AM
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
>
EasyUI for jQuery
>
Datagrid auto height
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid auto height (Read 4769 times)
sectioni
Jr. Member
Posts: 67
Datagrid auto height
«
on:
March 23, 2020, 04:47:57 AM »
How can I make the datagrid's height extend/shrink according to the number of rows per page so there will never be a scrollbar?
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Datagrid auto height
«
Reply #1 on:
March 26, 2020, 08:34:27 PM »
Create the datagrid component with 'height' set to 'auto'.
Code:
$('#dg').datagrid({
width: ...,
height: 'auto'
});
Logged
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...