Editable List View does not automatically refresh after a row is deleted

  • 16 February 2021
  • 0 replies
  • 31 views

Userlevel 1
Badge +8

Issue

You have an Editable List View with only a Delete toolbar button and the "Execute the Delete method" rule is configured on the Delete Toolbar Button is clicked rule. 

22837iBE6DEE8E60E57901.png

22836i338402A1EB15DFFF.png
22841i5A7EE4ECD783B36D.png

 

After upgrading from 4.7 to 5.5, if you select a row and click on the Delete button, the list view does not automatically refresh. You have to manually refresh the page to see the list view updated. 
 

Resolution

It is expected behavior on K2 5.5 that the list view does not refresh automatically when using the 'Execute the Delete method' rule as this is not the default approach. There has been a lot of improvements and streamlining of the List View rule events/actions between K2 4.7 and 5.5.

 

The default approach is now to use the 'Remove the selected row from the editable list' rule. This will rule then automatically refresh the list view after a row is deleted. Here are the default rules on an auto-generated editable list view:

 
22839i3A53DD8829BA1FD2.png
22842i8C4F4381140F2D7F.png

 

22840iB13638DC33F69A2B.png

 

In this scenario, you will need to add an additional ‘Execute the List refresh’ rule after the Delete method rule so that the list view refreshes automatically a row is deleted.

22838i6B67399D67ECA5FB.png

 

Related Links


0 replies

Be the first to reply!

Reply