DataView

when attached to dataview event

attachEvent("onItemClick", function (id, ev, html){

then i create new tab and in new tab create new dataview, but then old dataview is empty on page and tabs ;(

i found problem with

dhxTabbar.setTabActive(id);

if i remove it before

news.attachEvent("onItemClick", function (id, ev, html){ ... return true; });
all work and dataview not disappears !!

but when it present

news.attachEvent("onItemClick", function (id, ev, html){ ... dhxTabbar.setTabActive(id); return true; });

new tabbar set active and dataview in new tab exist but dataview that i attached event disappears ;(

how to solve ???

We need the completed demo to solve the problem.

solved :smiley: with onbeforeSelect and onafterselect …

i think problem with eventhandler not run to end return true; and data lost …