EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: arma on February 07, 2015, 11:30:23 PM



Title: Multiple Column Property Grid
Post by: arma on February 07, 2015, 11:30:23 PM
Is it possible to add some more column to property grid rather than limited to 2 columns (name and value)?

For example i want to show Setting Name | Description | Value

Thanks


Title: Re: Multiple Column Property Grid
Post by: jarry on February 08, 2015, 01:52:24 AM
You can define any columns in the propertygrid.
Code:
$('#pg').propertygrid({
columns:[[
{field:'name',title:'Name',width:100},
{field:'description',title:'Description',width:100},
{field:'value',title:'Value',width:100}
]]
})