From 0b71ac809ffadd7c8183aed4f10affffbac9d8d3 Mon Sep 17 00:00:00 2001 From: Stephan Wald Date: Thu, 5 Apr 2018 16:10:08 +0200 Subject: [PATCH] fix: a grid cell is editable if the grid itself is editable and the column is editable --- BBjGridExWidget.bbj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BBjGridExWidget.bbj b/BBjGridExWidget.bbj index a41ac217..4d73afb6 100644 --- a/BBjGridExWidget.bbj +++ b/BBjGridExWidget.bbj @@ -1238,12 +1238,13 @@ class public BBjGridExWidget extends BBjWidget node!.addProperty("width",num(width$)) FI + editable! = 0 editable!= num(cd!.getFieldAttribute(f$,"EDITABLE",err=*next)) - - if editable! > 0 then + + if editable! > 0 and #Editable! > 0 then node!.addProperty("editable",1) else - node!.addProperty("editable",#Editable!) + node!.addProperty("editable",0) FI if first then