Title: how to cancel a select in tabs? Post by: korenanzo 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 Title: Re: how to cancel a select in tabs? Post by: jarry 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/
Title: Re: how to cancel a select in tabs? Post by: aswzen 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 Title: Re: how to cancel a select in tabs? Post by: stworthy 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/
|