Accessing pluing on events

Accessing pluing on events

Hi :)

I have a simple plugin, who add a click event on a handler. Here is the code :

[code](function(window, $) {
    var TableColumns = function(element, colsJSON, handler) {
        this.table = $(element);
        this.handler = handler;

        this.handler.on('click', function(event) {
            // HERE I WANT TO ACCESS this.table
        }).bind(this);
    }
   
    $.fn.tableColumns = function(colsJSON, handler) {
        return this.each(function(index, element) {
            new TableColumns(element, colsJSON, handler);
        });
    }
})(this, jQuery);[/code]

How can i access to the plugin on the click event i've added ?

Thanks :)