How to select a specific row with Select extention
How to select a specific row with Select extention
Rectec013
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
This discussion has been closed.
Answers
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
inselect.style
means only permit one selected row at a time,Cheers,
Colin
Thanks for help Colin , i was looking for select.style .
Have a nice day