Hi to all.
I am newbie in dhx. So i started from viewing samples and reading docs.
But when i try to create a new toolbar type i had error
"TypeError: Cannot set property 'name' of undefined".
So by steps what i do.
- I take BookShop sample http://dhtmlx.com/touch/samples/apps/bookshop/index.html
(all works ok). - I put a piece of code
dhx.Type(dhx.ui.toolbar, { name:"TransparentBar" css:"dhx_transparentbar", template:dhx.Template("#value#"), vertical:true, width:210, templateStart:dhx.Template("<div dhx_l_id='#id#' class='dhx_list_item dhx_list_{common.css}_item{obj.$selected?_selected:}' style='width:{common.width}px; height:{common.height}px; padding:{common.padding}px; margin:{common.margin}px; overflow:hidden;'>"), templateEnd:dhx.Template("</div>") });
(took from http://docs.dhtmlx.com/touch/doku.php?id=how_to_create_your_own_toolbar_type) in config.js (config.js there is in BookShop sample) - Nothing do more. And after what i get that error.
What I do wrong? And how do this right?
P.S. when i try to create new other type (pagelist, for example) all works ok
P.P.S sorry for my English