Open maxazan opened 10 years ago
Actually nm,
$(tpl).prependTo(cell).click(function(event) {
$($(this).closest('tr')).treegrid('toggle');
}).bind('selectstart dragstart', function(evt)
{ evt.preventDefault(); return false; });
works for preventing the expander clicks to highlight td text. Might be a different issue but seems related. Users can deal with row selections themselves, should not be handled by plugin imo.
Should add
I tried
event.preventDefault();
andevent.stopPropagation();
on the click ( and even a dblclick) nothing seemed to work on blocking the clicks from bubbling to the td and selecting the text. Maybe i missed something specific about table events.