AutoFill icon indicating copy to clipboard operation
AutoFill copied to clipboard

Use input element inside a cell

Open TOuhrouche opened this issue 9 years ago • 1 comments

Hi, First of all, thanks a lot for such a wonderful library, excellent job!!!

I am trying to achieve the same as this SO post but it looks like all these old APIs are gone. Apart from using the Editor extension, what would be the best way to get to copy input content when dragging the mouse through multiple cells?

TOuhrouche avatar Oct 26 '16 22:10 TOuhrouche

You would need to create a plug-in for it. To handle input elements, instead of using the set property to set the value, you'd need to modify the cell's DOM directly (i.e. write into the input element's value in the execute callback).

DataTables avatar Oct 27 '16 12:10 DataTables