select extension apply only selected columns??
select extension apply only selected columns??
jatin gajera
Posts: 60Questions: 23Answers: 0
select extension apply only selected columns??.
is it possible.?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Very similar to your other question and also a similar answer. In this case use
select.selector
.The full list of options is available here.
Allan
yes allan i see this option but in this we can't mention separet column in this option we mention only first and last column.
Try something like
'td:nth-child(2), td:nth-child(3), td:nth-child(5)'
as the selector and change the numbers for the column indexes you want to allow clicking on. I haven't tried it but the selector you supply is passed straight through to jquery for the event handler so it should work. You need to get the jquery selector right for your needs and can look at the jquery docs for crafting one.Yes, as @rduncecb says you can use a comma as a separator just like jQuery (it is a jQuery selector after all).
Allan
thanks ....@rduncecb and allan