how to Lazy Load accordion item on expand

Hi Maksim,

As per the snippet : http://webix.com/snippet/5cb87c1d, the accordion item got initialized dynamically using it’s ID (“panelB” in snippet).

But while doing integration of webix and angular JS using “Initing from Config Object” technique, I am unable to access the accordion item with its ID.

When I checked HTML page, analyzed that the accordion item is being rendered as :

element :
{
collapsed : true,
header : “Quote comments”,
id : “quoteCommentsAccord”,
body : {id:“contentComments”, rows:[]
}
}

Here the id of element is being assigned to “webix_ai_id” and not “view_id”, so I am unable to access it using syntax in snippet ie parameter “id” of function called “on After Expand” contains value “$accordionitem10” instead of “quoteCommentsAccord”.

And also the element with id:“contentComments” (body element) is not being rendered in html at all.

Please help me…