Toolbar - style for individual option

Upgraded dhtmlxtoolbar and noticed that my old way of rendering individual listoptions did not work.

Old style:
KARTAtoolbar1.addListOption(“id”, “id-NY”, “obj”, “button”, “Nyinlagda”, “white.gif”);
item = KARTAtoolbar1.objPull[KARTAtoolbar1.idPrefix + “id-NY”].obj;
item.style.backgroundColor = “#ffffff”;

item is no longer valid because function does not exists.

What’s new style?

/bjda

hi

for listed option:
KARTAtoolbar1.addListOption(“id”, “id-NY”…);
var item = KARTAtoolbar1.objPull[KARTAtoolbar1.idPrefix + “id”]._listOptions[“id-NY”];
item.tr // whole TR
item.td_a // TD with img
item.td_b // TD with text

Thanks, works fine.

/BJDA