Hi
I want to rend a menu components(and sometimes other third-parts vue components) at one of columns in my treelist.
It works well at first rend time, but after filter certain value, the result row appears 2 menu, and when clear the filter, 3 menu appeared.
I finished a demo to explain the problem base on demo in vue template page.demo
I try to change as following, then the filter value cannot change at first filter....
columnTemplate (e) {
if(this.$el.querySelectorAll(`.titleTemplate_${e.id}`).length=== 0){
return {
template: TemplateTitle,
templateArgs: e
}
}else{
return {}
}
}
It will be really helpful if a well-worked demo provided.
Thanks!