Editors IDEs
--
Questions
--
Followers
Top Experts
I am not an expert in powerbuilder
I have a grid datawindow , 5 columns, is there away to protect a single cell from editing based on a condition ?
 I used protect but it will protect / unprotect  the whole column, even when protect used , the Enter stops working to Insert a second row (Down key event)
 I tried also in itemchanged event, (if the user  changed value the original value will override),
but didn't work also.
not necessary  "PROTECT" but any idea stops changes to this cell.
Thanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
e.g. entering the following as the 'protect' expression will protect the cell in row 3 only:
  if (getrow()=3,1,0)
setitem(row,"trns_price",w
dw_basic.object.trns_price
setitem(row,"trns_price",w
dw_basic.object.trns_price






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
whats that you want to do with that perticular cell? i mean what are the conditions to make that cell protected.
Generally protect expression at design mode works for entire row or entire column.
we can control if u can specify the row no, or if its new row or if its modified..so on..
please let me know the condition.
thanks
msn
Editors IDEs
--
Questions
--
Followers
Top Experts
Development in most programming languages is frequently done with an editor or integrated development environment (IDE). An IDE is a software application that provide comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. XCode, Visual Studio, Adobe Dreamweaver and Eclipse are some of the more popular development tools, but an editor or IDE can be anything from simple text editors to sophisticated programs. Related topics: All programming and development language, database and web based content management systems topics