How to call a function on click of specific coloum data in datatable

Please let me know How to call a function on click of specific coloum data in datatable.
The below sample i was trying but it is not working…

function getTicketsReport() {

var ticketsData = 
{

	view : "datatable",
	id : "accDataList",
	select : "cell",
	multiselect : true,
	//hidden:true,
	clipboard : "selection",
	columns : [
			{
				id : "id",
				header : "Id",
				template : "#id#",
				hidden : true
			},
			{
				editor:"checkbox", 
				id : "chkbox",
				options:bool_set,
				header : "Id",
				template:"{common.checkbox()}",	
				/* hidden : true */
				width : 100
			},
			{
				id : "ticketId",
				header : "Ticket Id",
				template : "#ticketId#",
				/* hidden : true */
				width : 150,
				click:function(){
				viewTicketInfo();
			}}

Hi! First of all, you can add events only to the datatable config.

There’re two ways to add an action to the click on the particular column:

  • check column id on onItemClick event;
  • set onClick handler to the class from the data template (a useful way if you need to call any function on the icon click, for example)

http://webix.com/snippet/a7bce372