EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 03, 2024, 02:59:05 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
>
Bug Report
>
Center edatagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Center edatagrid (Read 13533 times)
Punkerr
Newbie
Posts: 37
Center edatagrid
«
on:
October 26, 2012, 10:49:23 AM »
Hi!
When I apply the <table> <center> ... </table> </center>, the column headers disappear.
Is this a bug?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Center edatagrid
«
Reply #1 on:
October 26, 2012, 12:55:04 PM »
Please use the standard table structure.
<table><thead>...</thead><tbody>...</tbody></table>
Logged
Punkerr
Newbie
Posts: 37
Re: Center edatagrid
«
Reply #2 on:
October 26, 2012, 01:34:09 PM »
Sorry, the right report is:
When I apply the <center><table> ... </table> </center>,
the names
in column headers show in blank.
Is this a bug?
«
Last Edit: October 26, 2012, 03:23:13 PM by Punkerr
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Center edatagrid
«
Reply #3 on:
October 27, 2012, 06:32:38 AM »
To center the datagrid, place the datagrid with fit property set to true in a centered div container.
Code:
<div style="margin:0 auto">
<table class="easyui-datagrid" fit="true">
...</table>
</div>
Logged
Punkerr
Newbie
Posts: 37
Re: Center edatagrid
«
Reply #4 on:
October 27, 2012, 04:24:40 PM »
Great! it works stworthy!
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...