Article - CS310051

Binding a service to SelectedRowsChanged property of List widget triggers an endless loop in ThingWorx Platform

Modified: 07-Oct-2022   


Applies To

  • ThingWorx Platform 8.0 to 8.4

Description

  • Binding data to the SelectedItems property of a List widget triggers the SelectedRowsChanged event to the service bound to the Data property of the list, which then  triggers the service again
  • Each time the service is triggered the SelectedItems property is updated resulting in an endless loop
  • Why would a bindable property change the selected rows of a list if it just triggers the SelectedRowsChanged event in the source data?
  • The same service worked successfully under versions of ThingWorx prior to 8.0
This is a printer-friendly version of Article 310051 and may be out of date. For the latest version click CS310051