Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Protected OI EditTable column.

I have a column in an OI EditTable that is visible but protected. The user cannot type anything in this column. Well and good.
However, as they are able to navigate to it (Tab, Click) they are therefore able to paste (Ctrl-V) invalid data here.

If it was an EDL then the user wouldnt even be able to navigate there being protected but being an OI EditTable....
Is there an easy way to stop this from happening? The cell needs to stay visible. Copy/Paste needs to work for other cells.

Comments

  • The 'Skip/Skip over' setting?
  • Um...Yes. Yes, that would do it.

    I'll be honest and say I am not sure I have ever needed to set that on an edittable column before.
    DTCS_PROTECT$ has always sufficed.

    Now I feel a bit sheepish since that was so obvious it didnt even register in my brain when I was staring at it.

    Thanks @BarryStevens.
  • @Opto_Will - To be honest, I'm surprised that you were allowed to paste into a protected cell. I've never seen that happen myself, but then again I don't rely on the OI EditTable that much. So on that note I think your expectations were right.

    ...however...the EditTable control is a 3rd party control (not unlike our controls) and so it does not necessarily support the same properties that an editline (which is a Windows common control) does.
  • Needless to say, I was surpsied as well!

    Still. Users. Am I right? ;-)



Sign In or Register to comment.