get config of datatable in $init


How can I get the config of the datatable in the $init of that datatable?

If I try $$('gridId').config i get that it's undefined, if I try with 'this' there is no config object

thank you



  • if you mean $init used in protoUI, then config is passed as first argument.

         $init: function(config){
    }, webix.ui.datatable);

    this.config is possible as well

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion