cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am facing an issue with implementing swipe behaviour in ObjectTable.

Scenario:

  1. I have added a ObjectCell to display list of notifications.
  2. If the user right swipes on a row, user to able to delete the notification.
  3. After clicking on a single row of list, user is navigated to detail screen.
  4. Once user comes back from detail screen, the above clicked row item is not showing swipe behaviour. If the user tries to swipes on other rows, the behaviour is working as expected.

Please provide your guidance.

MDK SDK used: 24.11.2-002

0 Likes
View Entire Topic
ArunJacob
Active Participant
0 Likes

Hi,

//deselect the row before nav. to detail page.

context.getPageProxy().getControl('YourObjectTableSection').getSelectedItems().forEach(item => item.setSelected(false));

Thanks