EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 16, 2024, 01:17:50 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
>
how to cancel a select in tabs?
Pages: [
1
]
« previous
next »
Print
Author
Topic: how to cancel a select in tabs? (Read 11670 times)
korenanzo
Guest
how to cancel a select in tabs?
«
on:
November 17, 2014, 11:03:25 AM »
Hi all,
I need to decide wether or not allow the selection of a panel in a tabs.
is it possible to add a "cancel" system (like "return false" ) into the onSelect ?
the onBeforeClose has such a system, but Close happens only when a tab is closed (destroyed), not changed .
thanks,
RIc
«
Last Edit: November 18, 2014, 03:24:04 AM by korenanzo
»
Logged
jarry
Administrator
Hero Member
Posts: 2276
Re: how to cancel a select in tabs?
«
Reply #1 on:
November 19, 2014, 01:33:07 AM »
This feature will be supported in next version. The preview tabs plugin can be downloaded from
http://www.jeasyui.com/easyui/plugins/jquery.tabs.js
. The example is also available from
http://jsfiddle.net/csbt4r45/
Logged
aswzen
Sr. Member
Posts: 287
Indonesian
Re: how to cancel a select in tabs?
«
Reply #2 on:
April 23, 2015, 11:23:11 PM »
hello, is this method already implemented in newest easy ui?
especially about
onBeforeSelect
refer to this
http://www.jeasyui.com/forum/index.php?topic=4038.msg10319#msg10319
because already tried to use this method and come with fail results.
here the fiddle:
http://jsfiddle.net/aswzen/mus4rvw0/2/
Thank you
Logged
Regards,
Sigit
- Indonesian jEasyUI Facebook page :
https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
Posts: 3581
Re: how to cancel a select in tabs?
«
Reply #3 on:
April 24, 2015, 12:34:00 AM »
Please use the panel's 'onBeforeOpen' event instead, try this updated example
http://jsfiddle.net/mus4rvw0/3/
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...