DataTable w/ ActiveContent : what is 'common' ?

Is this a bug ?
http://webix.com/snippet/ba275e73

  • error “Cannot read property ‘container’ of undefined”
  • activeContent with the same name for 2 tables instances behavior

Try commenting the activeContent declarations for each tables :
http://webix.com/snippet/3eb0b474

This is weird !

“common” is a hash of common helpers for datatable

As for the above issue, there is a bug, as quick workaround you can add a onBeforeRender event handler like next

http://webix.com/snippet/6f905dfa

Also, you can use inline icons without activeContent
http://webix.com/snippet/e208b38b

“common” is a hash of common helpers for datatable

Sure but with this bug, it’s like the template helpers are shared between datatable instances; whereas the expected behavior is they are only shared (common) for all rows of one instance of datatable, right ?

Again, thanks for the very quick answer !

Yep, because of the bug, helpers are shared between all grids which causes the issue. Will be fixed in the next update.

is it fixed?

As of webix 3.1.2, nope.
The fix provided by Maksim is simple and still working, though.