EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: heru on July 19, 2012, 10:33:00 PM



Title: How to make Collapsed datagrid ?
Post by: heru on July 19, 2012, 10:33:00 PM
hi all,

I have many datagrids in one page how to make these datagrids in collapsed state when user open the page ? Am I missing something ?

thankyou,

heru


Title: Re: How to make Collapsed datagrid ?
Post by: stworthy on July 19, 2012, 11:10:20 PM
Set 'collapsed' property to true for your datagrid components.
Code:
$('#dg').datagrid({
collapsible:true,
collapsed:true,
...
});


Title: Re: How to make Collapsed datagrid ?
Post by: heru on July 20, 2012, 07:21:09 PM
thankyou stworthy...

heru