Fixed an issue where the user is able to edit properties when some of the collection nodes are selected. Fixes #5629

This commit is contained in:
Aditya Toshniwal
2020-07-02 16:06:16 +05:30
committed by Akshay Joshi
parent 1802f8a3f8
commit ced296939f
2 changed files with 5 additions and 0 deletions

View File

@@ -186,6 +186,10 @@ define([
headerCell: Backgrid.Extension.SelectAllHeaderCell,
});
}
/* Columns should be always non-editable */
gridSchema.columns.forEach((col)=>{
col.disabled = true;
});
// Initialize a new Grid instance
that.grid = new Backgrid.Grid({
emptyText: gettext('No data found'),