row check bug fix

This commit is contained in:
deepeshgarg007 2018-11-30 16:15:43 +05:30
parent 3c7c4a61be
commit 37b6a2ca0b

View File

@ -67,6 +67,9 @@ frappe.query_reports["Sales Analytics"] = {
reqd: 1
}
],
after_datatable_render: function(datatable_obj) {
$(datatable_obj.wrapper).find(".dt-row-0").find('input[type=checkbox]').click();
},
get_datatable_options(options) {
return Object.assign(options, {
checkboxColumn: true,