Set individual rows in repeater non-editable?

niallniall Member Posts: 3
edited 2015-07-29 in NAV Three Tier
Hello,

In Nav 2013, is it possible to set individual rows of a repeater group on a page to non-editable? I can set the whole list to non-editable but I'd like some rows to be editable and others not.

Thanks in advance!

Comments

  • gandhi_nklgandhi_nkl Member Posts: 44
    Hi,

    I think you have some condition to set non - editable for rows.

    Create one Boolean global variable, Example - SetEdit - Datatype - Boolean

    go to repeater group fields, set each field Editable property = SetEdit .

    OnAfterGetRecord() - tigger

    Clear(SetEdit);
    if Amount = 0 then (condition based on your scenario)
    SetEdit := true;
    Thanks & Regards,
    Muthu
  • niallniall Member Posts: 3
    Yep, that works. :thumbsup:

    Thanks very much!
Sign In or Register to comment.