Answer the question
In order to leave comments, you need to log in
B4 TreeView buttons not working. What's wrong?
Not much time to analyze all these details, but everything seems to be written correctly. But the tree buttons don't work. Those. Subcategories not opening. Or maybe I spelled them wrong. Point out the error.
$(function(){
var mytree = [
{
text: "All categories",
nodes: [
{
text: "Specialist appointment",
nodes: [
{
text: "..."
},
{
text: "..."
}
]
},
{
text: "ultrasound"
}
]
},
];
$('#tree').treeview({
data: mytree,
selectedicon: 'glyphicon glyphicon-stop',
backColor: '#eaeaea',
showBorder: false,
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question