From 5c42aa996ac6e22afa12a5b018f600a1031b1d2e Mon Sep 17 00:00:00 2001 From: Javier Wong Date: Tue, 17 Oct 2017 14:52:52 +0800 Subject: [PATCH] [fix] Hide Editable Grid Columns (#4270) * [fix] Hide Editable Grid Columns This fixes a bug where set_column_disp does not hide editable grid columns. * [fix] Hide Editable Grid Columns - Additional Fixes This fixes a bug where set_column_disp does not hide editable grid columns. * [fix] Hide Editable Grid Columns - Additional Fixes This fixes a bug where set_column_disp does not hide editable grid columns. * [fix] Hide Editable Grid Columns - Additional Fixes This fixes a bug where set_column_disp does not hide editable grid columns. * Codacy Fixes --- frappe/public/js/frappe/form/grid.js | 40 ++++++++++++++++++++++++ frappe/public/js/frappe/form/grid_row.js | 7 +++-- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/form/grid.js b/frappe/public/js/frappe/form/grid.js index 63162692cc..b9987b38e8 100644 --- a/frappe/public/js/frappe/form/grid.js +++ b/frappe/public/js/frappe/form/grid.js @@ -350,13 +350,53 @@ frappe.ui.form.Grid = Class.extend({ for(var i=0, l=fieldname.length; i