ludo / jquery-treetable

jQuery plugin to show a tree structure in a table
http://ludo.cubicphuse.nl/jquery-treetable
GNU General Public License v2.0
741 stars 278 forks source link

Problem setting the expanderTemplate value at initialisation #166

Open surreydude opened 9 years ago

surreydude commented 9 years ago

Hi

I want to put a class against the expander href so that I can find it in the DOM, something like this:

$("#tabTreeTable").treetable({ expandable: true, onNodeExpand: tabTreeTable_NodeExpand, expanderTemplate: ' ' }, true);

...but this appears to break the DOM. Is it possible to set this or is it read only?

Thanks

ludo commented 8 years ago

Hm this is not something that is actively supported, but it should not break the DOM.