EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
March 29, 2024, 04:21:52 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
>
Showing pagination bar
Pages: [
1
]
« previous
next »
Print
Author
Topic: Showing pagination bar (Read 2646 times)
sectioni
Jr. Member
Posts: 67
Showing pagination bar
«
on:
February 04, 2021, 02:42:45 AM »
Hi
If I created a datagrid with pagination:false, and then I want to enable it, how do I do that?
I tried:
$('#tbl-data-eventLog_1024').datagrid('options').pagination = true;
$('#tbl-data-eventLog_1024').datagrid('resize');
Logged
jarry
Administrator
Hero Member
Posts: 2260
Re: Showing pagination bar
«
Reply #1 on:
February 05, 2021, 01:42:48 AM »
Please use this code instead.
Code:
$('#tbl-data-eventLog_1024').datagrid({
pagination: true
});
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...