Row check fix for purchase analytics

This commit is contained in:
deepeshgarg007 2018-11-30 16:25:16 +05:30
parent 94a3539015
commit ec5bbe351c

View File

@ -68,6 +68,9 @@ frappe.query_reports["Purchase Analytics"] = {
}
],
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,