EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 25, 2024, 09:47:11 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
>
how to enable/disable menubutton items
Pages: [
1
]
« previous
next »
Print
Author
Topic: how to enable/disable menubutton items (Read 5940 times)
koysweb
Newbie
Posts: 7
how to enable/disable menubutton items
«
on:
June 11, 2015, 09:17:53 AM »
Hi,
I need to enable/disable some menubutton items in execution time, depending on a list of items to disable/enable, stored in a database. (My english is no good)
How I do this???
Logged
yamilbracho
Jr. Member
Posts: 64
Re: how to enable/disable menubutton items
«
Reply #1 on:
June 11, 2015, 11:15:13 AM »
Check the tutorial
http://www.jeasyui.com/demo/main/index.php?plugin=MenuButton&theme=default&dir=ltr&pitem=#
Logged
koysweb
Newbie
Posts: 7
Re: how to enable/disable menubutton items
«
Reply #2 on:
June 12, 2015, 05:25:08 AM »
I found this instruction:
Quote
$('#' + Idmenu).menu('disableItem', $('#' + Idmenu).menu('findItem', denven).target);
this works fine in firefox-chromiun's debugger (step by step), but doesn't work when I run it without the debugger
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...