I having a problem getting onSelect to work. It does not fire when I select the row. I trying to have it to come up with at yes no to save.
<div id="c4" class="c3">
<table id="ci" title="Chapters/Contacts" class="easyui-datagrid" style="width:400px;height:450px"
toolbar="#tb" pagination="true" idField="id"
rownumbers="true" fitColumns="true" singleSelect="true">
<thead>
<tr>
<th data-options="field:'name',width:100">Chapter</th>
<th field="type" width="60" >Type</th>
<th field="state" width="70">State</th>
<th field="id" width="70">id</th>
</tr>
</thead>
</table>
This is how I setup the event:
$(function(){
$('#ci').datagrid({
onSelect: function(rowIndex, rowData)
{
alert("test");
}
});
});