Tooltip

I am using toolltip property and assigning function to it[template]. How can I get column inside template function as I am getting row and row id. But How can I know which column it get fire?

I found tooltip_setter contain id that hold column id but it is lost when it reach to my function [ie template]. Kindly requested to help on this.

Template function will get only row object as parameter, if you need to access the actual column id you can use a bit of js trickery

http://webix.com/snippet/78a17ab4

By the way, if you are not defining the tooltip property in the column’s configuration, datatable will use value of the column as tooltip

http://webix.com/snippet/574e7507

It would be helpful if the handler is giving me the column id instead of being trickery. In my project C# render the webix grid hence I have number of handler defined for event where using this trick give me bit ugly code. Ya but helpful thanks!

Yep, I’m fully agree.

Current approach is not the best. It will be improved in one of the next update.