+ Start a Discussion

How can select multiple rows (Ctrl+mouse click) in SLDS table?

Hi all, 

I need to get some values from SLDS table while clicking on rows both single and multiple (Ctrl+mouse click) mouse clicks. How can I achieve this? 

Pramodh KumarPramodh Kumar
on the on click event, you can pass the IndexVar to the client controller so that you can have Id

You can use something similar to this
<aura:iteration items="{!v.lstItem}" var="item" indexVar="index">
        <input data-selected-Index="{!index}" onchange="{!c.textChange}" type="text" 
               value="{!item.companyName}" class="slds-input slds-m-top--large" />

Let me know if you have any questions