Hi,
I have a treetable that always has sons. I just load parent nodes because i need to load in a dynamic way.
So, i need to show plus icon everytime. Is there an attribute on treetable that allows this?
On the other hand, when that parent is selected i need to show its sons. i have subrow attribute to define sons template but i do not how to parse/load sons.
I need to separate parents load from sons load because if i load parents and sons together it can be a heavy load.
can you help me?
thanks and regards!
Maria
November 9, 2015, 2:29pm
2
thanks Maria!
One little thing, how do i set sons template?
i tried this attribute on treetable view in 2 ways:
subrow: function (obj, common) {
return “
” + obj.del_nombre + “
”;
}
subrow: “#del_nombre #”
Thank in advance and regards!
Thanks! I will wait 2 weeks. Keep me posted with this please.
Regards!
Maria
November 11, 2015, 3:29pm
5
Hello,
both ways are correct. However, we have found a problem with event handling for subrows in TreeTable. We will add the fix into the next update.
When will it be next update? Is there another way to solve this?
Thanks and regards!
Maria
November 12, 2015, 8:02am
7
Hello,
The update will be available in two weeks. If you need to get the fixed libs ASAP, please open a ticket in the Members’ Area.
Regards
Hi, is this issue solved in 3.1 version?
I have upgraded to that version but no luck.
This is a snippet i have prepared.
http://webix.com/snippet/e9047bc0
for some reason, the plus icon is not showed when it should.
Can you help me please?
Thanks and regards!
Maria
November 26, 2015, 1:01pm
9
Hi,
there were several issues in the column template:
treetable template
subrow template
Please check the demo:
http://webix.com/snippet/b426f62a
Thanks but it gives me this error:
Uncaught TypeError: Object # has no method ‘subrow’
maybe in the webix.js you gave to me this morning this is not solved?
i tested the snipped you gave me in your last response.
check it out please!
Thanks and regards!
Maria
November 27, 2015, 11:13am
11
Hello,
Yes, subrow is part of PRO edition. Please open a ticket in Members’ area.