• tamal das
    August 9, 2016 at 7:36 am #2393


    I’m using SPARK UI toolkit’s service data table in coach. When the table is rendered with some data – how do I make the entire row clickable?

    so that based on click , I can select that particular data in table’s row and generate and event to go to another coach / service with that data.

    SPARK Support
    August 9, 2016 at 12:39 pm #2395

    Hi Tamal,

    The Service Data Table control does allow for a selected able row option, and provides a method for getSelectedRow(). When you downloaded the SPARK UI Toolkit, you should have imported the SPARK Showcase with the file. Please see the following screenshots and accompanying steps.

    1. Open Service Data Table Showcase under Heritage Human Services.
    2. Select a Service Data Table – such as the Drinks table.
    3. Set the Selection mode to Single under Behaviors
    4. Define a method to use for the On Row Selected by User event.
    5. In your JavaScript, call the Service Data Table’s getSelectedRecord() method.


    Stephen P.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search