Restrict inline editable cell based on business logic

(2 posts) (2 voices)

Tags:

No tags yet.

  1. Mark Tetrode, Member

    Hi MyDBR support

    I have a report that returns a number of rows, and some of the columns are editable.

    I wish to restrict the editing for certain cells based on business logic (i.e. if the first cell is less than 0 then you cannot edit the second cell).

    How can I do this?

    Thanks

    Mark

  2. myDBR Team, Key Master

    You can use the same syntax as in linked reports and use show_link-option:

    select 'dbr.editable', '[second_col]', 'sp_DBR_edit', 'id=[id]', 'show_link=[first_col]<=0';

    --
    myDBR Team


Reply

You must log in to post.