Skip to content

Commit

Permalink
fix: a grid cell is editable if the grid itself is editable and the c…
Browse files Browse the repository at this point in the history
…olumn is editable
  • Loading branch information
Stephan Wald committed Apr 5, 2018
1 parent 8246414 commit 0b71ac8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions BBjGridExWidget.bbj
Expand Up @@ -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
Expand Down

0 comments on commit 0b71ac8

Please sign in to comment.