EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
March 05, 2026, 04:35:39 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
>
Check datagrid collapse or expand
Pages: [
1
]
« previous
next »
Print
Author
Topic: Check datagrid collapse or expand (Read 7947 times)
MSAG
Newbie
Posts: 41
Check datagrid collapse or expand
«
on:
January 24, 2019, 07:57:35 AM »
how can check if datagrid collapse or expand?
Logged
jarry
Administrator
Hero Member
Posts: 2307
Re: Check datagrid collapse or expand
«
Reply #1 on:
January 24, 2019, 08:33:16 PM »
Detect the 'collapsed' property value to see if the datagrid panel is collapsed.
Code:
var collapsed = $('#dg').datagrid('options').collapsed;
console.log(collapsed);
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...