Datatable header tooltip

Hi Webix team,

How to give tooltip to datatable headers?
https://snippet.webix.com/e4z2kqjk
I want autoConfig: true, all time

Thanks

Hello @Meera ,
To solve the issue you need to call onStructureLoad event which fires when the structure of DataTable (columns configuration) is initialized

onStructureLoad:function(){
      for( var i = 0; i<this.config.columns.length; i++){
        var text = this.config.columns[i].header[0].text;
        this.config.columns[i].header[0].text= "<span title='some'>"+text+"</span>";
      }
    }

Example: https://snippet.webix.com/7244qttg

Hi @Nastja

Thank you. Its working fine :slight_smile: