EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 12:04:04 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
>
EasyUI for jQuery
>
Dynamically enable/disable datagrid control?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Dynamically enable/disable datagrid control? (Read 8016 times)
tomb
Newbie
Posts: 14
Dynamically enable/disable datagrid control?
«
on:
August 17, 2014, 08:11:54 PM »
How can I dynamically enable/disable a datagrid control (or any panel-based control for that matter)? Also, is there a way to show/hide a control dynamically? I tried the open/close methods (that I thought were derived from the panel), but that didn't work.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Dynamically enable/disable datagrid control?
«
Reply #1 on:
August 17, 2014, 11:40:24 PM »
To close a datagrid, try this:
Code:
$('#dg').datagrid('getPanel').panel('close');
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...