Skip to Content
0
Sep 06, 2023 at 10:32 AM

Issue with getSelectedItems of Object Table

116 Views

Hello,

I have an Object Table where I am determining the selected property of the item by a rule. Here is my scenario and issue I am facing.

  1. Open the Object table, by default everything is unchecked. This is coming fine.
  2. Select few items (say 2), click on a done button. On click I am using getSelectedItems API to determine the selected items and perform some logic. This is stored in client data for further operations. After this the page is closed.
  3. Come back to this page, from the rule the 2 items should be checked which is coming fine.
  4. When I am clicking on done without selecting/unselecting new items getSelectedItems is giving empty array. However, If I select more items or uncheck anything it is giving proper results.

I am using MDK version 23.4.

Thanks,

Shubham