Options

How to disable single row in Table Box?

jemmyjemmy Member Posts: 247
Folks,

This should be a simple question, but I can't figure it out. ](*,)
How to disable single row in table box?

Thanks in advance as always,

Jemmy

Comments

  • Options
    kinekine Member Posts: 12,562
    You can disable whole tablebox or whole Field (column), but no one row. You can only make something as "when user select this row (record) disable the tablebox (disable editing)"...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    jemmyjemmy Member Posts: 247
    Hi Kine,

    I believe that you must be correct! Thank you much for the answer.

    Cheers,

    Jemmy
  • Options
    jonsan21jonsan21 Member Posts: 118
    Hi,

    What you can do is - I know this change the table structure - to add a boolean field in the Source Table, i.e 'Approved' field.

    Create a function let's say SetEditable - which actually set the editable property of any fields you want in that particular row, according to the value of the 'Approved' field. Then you can control which row is editable which row is not by toggling the value of 'Approved' field

    The trick is in which trigger to call this SetEditable function.

    Try it out as I am a lil bit lazy to check for you :p

    Rgds,

    Jon.
    Rgds,

    Jon.
Sign In or Register to comment.