Hi friends,
I converted html table to DataTable, after conversion click event working only in 1st page of DataTable but not working in second table
Below code is click events of my DataTable
$('.edit').parent().on('click', function () {
$(this).children('.edit').click()
})
$('.edit').editable('/AdminProfile/edituser', {
cssclass: 'jeditForm',
tooltip: 'CLICK TO EDIT...',
width: '100',
type: 'text',
submit: 'OK',
height: 'none',
onsubmit: function (settings, original) {
oldValue = original.revert;
},
submitdata: function () {
setTimeout(location.reload.bind(location), 200);
return {
id: $(this).data('id'),
PropertyName: $(this).data('propertyname')
}
oldValue = original.revert;
}
})