EasyUI Forum
March 05, 2026, 04:35:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Check datagrid collapse or expand  (Read 7947 times)
MSAG
Newbie
*
Posts: 41



View Profile Email
« on: January 24, 2019, 07:57:35 AM »

how can check if datagrid collapse or expand?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2307


View Profile Email
« 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  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!