EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 11:25:40 PM
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
>
Propertygrid header show/hide destroy column width
Pages: [
1
]
« previous
next »
Print
Author
Topic: Propertygrid header show/hide destroy column width (Read 18115 times)
tmark
Newbie
Posts: 7
Propertygrid header show/hide destroy column width
«
on:
September 07, 2012, 05:20:50 AM »
I generate a propertygrid dynamically:
function createDynamic() {
$('#holder').html('<table id="pg"></table>');
$('#pg').propertygrid({
showGroup:true,
showHeader:true,
scrollbarSize:0,
fitColumns:true
});
...
}
Load data dynamically:
function loadData() {
data = '{"rows":[{"name":...
...
$('#pg').propertygrid('loadData', JSON.parse(data));
}
I tied the hideHeader function to click event (eg: button).
var l = false;
function hideHeader(){
$('#tt').propertygrid({
showHeader:l
});
$('#pg').propertygrid({
showHeader:l
});
l = !l;
}
After header hid and reappeared the column-width of the items were different.
$('#tt') is also a propertygrid (from the demos)
<table id="tt" class="easyui-propertygrid" style="width:300px" data-options="url:'propertygrid_data.json',showGroup:true,scrollbarSize:0"></table>
I works well!
I tested it both on ff and chrome.
Is it a bug, or is it any solution?
Thanks, Mark
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Propertygrid header show/hide destroy column width
«
Reply #1 on:
September 08, 2012, 06:37:55 AM »
Yes, it is a bug that will be fixed in next version 1.3.1. Please download the fixed propertygrid plugin from
http://www.jeasyui.com/easyui/plugins/jquery.propertygrid.js
.
«
Last Edit: September 08, 2012, 07:14:31 AM by 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...