AutoFill data property returns incorrect row index on datatable
AutoFill data property returns incorrect row index on datatable
When using AutoFill with plug-in as im autofilling input boxes, the data property on cells[0][0] is not the correct row index.
Any ideas where i'm going wrong?
$.fn.dataTable.AutoFill.actions.names = {
    available: function ( dt, cells ) {            
        let startCell = (cells[0][0].index)
        console.log(startCell)
        return cells ;
    },
Thanks Michael
This discussion has been closed.
            
Answers
I should add that the selection of rows to be filled indexes are not sequential either? It's like it's reading the tables in a different row order?
and i;ve just figured it out myself
**Had to enable bSort: false when creating the datatable. **
Hopefully this helps someone else.