EasyUI , how to define onClickCell in the markup?

I am using EasyUI 1.35, I am trying to define ‘onClickCell’ event in the html markup, but failed. how to fix it ?

Thanks.


 <table class="easyui-datagrid" title="Todo List"  id="todoGrid"
                       data-options="tools:'#ttTodo',collapsible:true, fit: true,
                       singleSelect:true,
                       rownumbers:true,
                       onClickCell: function(index,field,value){ alert(value); }
                       url:'webresources/rs/getTodoList',
                       method:'get' "
                       style="width:auto; height:150px;">

</table>

Hi,

I’m not very familiar with EasyUI, but maybe you need a comma after the onClicCell function, i.e.

onClickCell: function(index,field,value){ alert(value); }[B],[/B] <- Here

Other than this, could you post a link to a page where we can see this not working?