Announcement

Collapse
No announcement yet.

SelectListView with GridView not working properly in ActionPage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SelectListView with GridView not working properly in ActionPage

    I am creating an ActionType from plugin. In my ActionType.OnNewAction I have initialized the page as follows,
    Code:
    gridRow.AddItem(...select list view 1)
    gridView.AddRow(gridRow)
    pageFactory.WithView(gridView)
    ConfigPage = pageFactory.Page
    In ActionType.OnConfigItemUpdate when the select list view 1 changes, I have added two new select list views and return true as follows,
    Code:
    // Again creating an already existing select list view
    gridRow.AddItem(...select list view 1)
    // Adding new select list views
    gridRow.AddItem(...select list view 2)
    gridRow.AddItem(...select list view 3)
    gridView.AddRow(gridRow)
    pageFactory.WithView(gridView)
    ConfigPage = pageFactory.Page
    return true
    In ActionType.OnConfigItemUpdate when the select list view 2 or select list view 3 changes, I have just returned true.

    This is where I am facing the issue. The data of select list view 2 and 3 is saved and we can check that using <select list view 2>.Selection. But the select list view in UI does not reflect this. It shows "Select a value".

    What can be the reason for this?

    #2
    You'll need to post this question on the Github : Issues ยท HomeSeer/Plugin-SDK (github.com)
    HS4Pro on a Raspberry Pi4
    54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
    Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

    HSTouch Clients: 1 Android

    Comment


      #3
      Create issue https://github.com/HomeSeer/Plugin-SDK/issues/314

      Comment

      Working...
      X