• SPARK Support
    October 8, 2015 at 12:56 pm #818

    Not sure how to access the selected value from the list ? Do I also need to be set using Javascript code?

    October 8, 2015 at 1:34 pm #829

    All Select controls, including the MultiSelect and the Table controls (if use Single or Multi-selection mode) automatically sync up the selection state of the backing list. Select controls that support single selection can also be bound to data that will then contain the value associated with the selection. Lastly, methods like get/setSelectedItem(), get/setSelectedIndex(), etc… exist to simplify working with selection programatically at runtime.

    Matthew Oatts
    May 16, 2016 at 7:50 pm #1806

    For an example of how to use the SPARK methods referenced above…


    Where Table 2 is the “Selected Table” (or whatever you want to bind the selected data to) and Table 1 is your main table

    Add that code into the “on rows selected” config option of your main table control.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search