In IM-BloomMaker's rich table,
if a variable linked to the dataSource property is updated by an operation other than the rich table component (such as executing an action),
the value of the selected property is automatically cleared to prevent inconsistencies between the data and the selected row.
Examples of possible inconsistencies are:
- Data index is misaligned
- Index greater than the number of data is stored in selected
- List data completely different from before the update is stored, and it is no longer linked to selected
If you want to keep the checkbox selected,
update the variable set in the dataSource property,
then reassign the selection information to the variable linked to the selected property.
In that case, it is recommended to add a delay process between the variable update process for the dataSource property and the variable update process for the selected property. The following is an implementation example.
return new Promise((resolve) => setTimeout(resolve, 50));
Please adjust the latency according to your usage environment.
Reducing the value shortens the execution time of the action, but in some environments, the selected state may not be reflected correctly.
For example, if you update the dataSource property and the selected property simultaneously within an action, a process to clear the selected property will be executed after the selected property is set, which may result in the check not being reflected.
As a result, by inserting a delay between the two update processes, the likelihood of maintaining the intended selected state increases.
--Target-------------------------------------------------------------------------
iAP/Accel Platform/All Updates
-----------------------------------------------------------------------------------
FAQID:1467
Why does updating the variable linked to the dataSource property in the rich table of IM-BloomMaker clear check boxes when the selectionType property is single selection or multiple selection?