How to select a specific row with Select extention

How to select a specific row with Select extention

Rectec013Rectec013 Posts: 42Questions: 10Answers: 0

Hello , i want to activate the Select extention only for 3 rows .
Something like this exemple

'select': {
style: 'single',
selector: 'tr:nth-child(1)', 'tr:nth-child(2)'
},

but it didn t work .

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @Rectec013 ,

    When you say, "only for 3 rows", do you mean that at most you only want three rows selected?

    The select.selector only determines which elements trigger the Select extension, so that's not what you want. Also, single in select.style means only permit one selected row at a time,

    Cheers,

    Colin

  • Rectec013Rectec013 Posts: 42Questions: 10Answers: 0

    Thanks for help Colin , i was looking for select.style .
    Have a nice day :)

This discussion has been closed.