select extension apply only selected columns??

select extension apply only selected columns??

jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

select extension apply only selected columns??.

is it possible.?

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,457Questions: 1Answers: 10,466 Site admin

    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

  • jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

    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.

  • rduncecbrduncecb Posts: 125Questions: 2Answers: 28
    Answer ✓

    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.

  • allanallan Posts: 63,457Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Yes, as @rduncecb says you can use a comma as a separator just like jQuery (it is a jQuery selector after all).

    Allan

  • jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

    thanks ....@rduncecb and allan

This discussion has been closed.