Grid Layout: Refreshment issue

A Score Level 1

Hi,

We have a grid layout, user needs to enter the necessary the data in the field by clicking on +Add row, every row has a dedicated Save and Discard button.

the UI have Back (LINK) to go previous page.

when a user click on + Add row in the table and enters data and don't click on save.

click on back (LINK), and comes to the same screen again,

ACTUAL RESULT: row value entered is displayed even row is not saved.

EXPECTED RESULT: Row value entered should not be displayed.

After clicking on Back (LINK) in UI and coming to the grid screen.


 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer
    2 months ago

    This is the expected behavior with Appian. However, if you want to lose that data when you navigate away, then you will simply have to set those brown to null. For this to happen, you will have to keep an identifier in your dictionary which tells you if the save button was clicked. For those where the save button is not clicked, you can simply set the values to null. 

Reply
  • 0
    Certified Associate Developer
    2 months ago

    This is the expected behavior with Appian. However, if you want to lose that data when you navigate away, then you will simply have to set those brown to null. For this to happen, you will have to keep an identifier in your dictionary which tells you if the save button was clicked. For those where the save button is not clicked, you can simply set the values to null. 

Children