We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

custom event on header item

Thread ID:

Created:

Updated:

Platform:

Replies:

118183 Feb 9,2015 09:18 AM Feb 10,2015 05:20 AM JavaScript 1
loading
Tags: ejTab
Stefano Enrico
Asked On February 9, 2015 09:18 AM

Hi,

I bind a custom event on header item.
If headerPosition = top, left or right my custom event works fine. But if headerPosition = bottom it does not fire.
Can you help me, please?
Thanks
Stefano

var $tabs = $('<div class="tabs" />').appendTo($vidmpag);
var $ul = $('<ul />').appendTo($tabs);

$.each(list, function (index, item) {
var $li = $('<li />').attr('id', "tab" + index)
             .appendTo($ul);

var $a = $('<a />').text("tab" + index)
     .appendTo($li)
     .attr('rel='nofollow' href', '#tab' + index)
     .bind('myEvent', $a, function (e, data) {
 debugger;;
     });

$('<div />').attr('id', 'tab' + index)
  .appendTo($tabs);
});

$tabs.ejTab({
headerPosition: ej.Tab.Position.Bottom,
itemActive: function (args) {
$('a', args.activeHeader).trigger('myEvent', args });
}
});

Saranya Sivakumar [Syncfusion]
Replied On February 10, 2015 05:20 AM

Hi Stefano,

We were able to reproduce the problem and we considered this issue “Event doesn’t get fired while header position of Tab as Bottom” as bug, also have logged a report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,

Saranya.S



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;