We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

How to add row in editable grid?

Hi All,

After adding a row in a editable grid by using + sign ,I need the previous rows in that grid will get disabled not the newly added one.Is it possible ?if yes please guide me how to do it.

Thanks in advance:)

OriginalPostID-196853

OriginalPostID-196853

  Discussion posts and replies are publicly visible

Parents
  • @tanmayab That should be quiet easy. Turn those rows into read only whose index is less than or equal to total length of rows minus 1, and this also takes care of the exclusion of the last row. Perform this operation under the saveInto that will be executed when '+' link is clicked.

    But we need to focus on one thing - will the last row always stay in a editable mode? If not, are you able to handle the condition of turning the last row into read only mode after the completion of editing the last row, that is are you able to decide when the editing of last row is complete? Consider this only when you want to turn the last row into read only mode after editing it.
Reply
  • @tanmayab That should be quiet easy. Turn those rows into read only whose index is less than or equal to total length of rows minus 1, and this also takes care of the exclusion of the last row. Perform this operation under the saveInto that will be executed when '+' link is clicked.

    But we need to focus on one thing - will the last row always stay in a editable mode? If not, are you able to handle the condition of turning the last row into read only mode after the completion of editing the last row, that is are you able to decide when the editing of last row is complete? Consider this only when you want to turn the last row into read only mode after editing it.
Children
No Data