Unable to select row when clicking on tags after columnDefs manipulation

Unable to select row when clicking on tags after columnDefs manipulation

brettreynoldsbrettreynolds Posts: 4Questions: 2Answers: 0

Having trouble with Select not being able to click on

<

div> elements in the cell after using columnDefs to combine multiple column data into 1 cell. Is there a class I should decorate these tags with or another method I can use to get the desired output look , while also being able to click anywhere within the row to select it?

My final project will have 2 or 3 of these cells that combine multiple column data and I don't want the end user having to try multiple attempts at selecting a row due to unresponsive elements.

Example:
http://live.datatables.net/tufizogi/1/edit

This question has an accepted answers - jump to answer

Answers

  • ThomDThomD Posts: 334Questions: 11Answers: 43

    In your example, select works for me everywhere except in that div you are inserting into the first column.

    I think you'll need the selector option to explicitly get around that issue.

    https://datatables.net/reference/option/select.selector

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Hi,

    This unfortunately is a known issue in Select which I've already committed a fix for. The fix is available in the nightly if you want to use it immediately, and will be available in the next release of Scroller which will likely be next week.

    Allan

  • brettreynoldsbrettreynolds Posts: 4Questions: 2Answers: 0

    Thanks Allan, seems to be working perfectly once I use the nightly.

This discussion has been closed.