Always fill vertical and never show selection dialog

Always fill vertical and never show selection dialog

keith.abramokeith.abramo Posts: 37Questions: 6Answers: 0

Hello,

I'm using the autofill extension and was wondering if there was a way to tell it to always fill vertically without prompting the user on how to fill when multiple columns are selected to fill? I see there is an option to turn autofill.horizontal = false, but then I can't select multiple columns to fill vertically.

I would love to have to ability to select 3 rows from columns A and B and have A1 fill A2 and A3 and then have B1 fill B2, and B3 without prompting the user on how to fill the cells.

I was trying to do something like this

        delete $.fn.dataTable.AutoFill.actions.fillHorizontal;
        delete $.fn.dataTable.AutoFill.actions.increment;
        delete $.fn.dataTable.AutoFill.actions.fill;
        delete $.fn.dataTable.AutoFill.actions.cancel;

To remove all the other global options, but now I just get an error if I only try to fill one column.

Is this possible?

Thanks!

This question has an accepted answers - jump to answer

Answers

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

    Thanks! Unquestionably a bug that. I've committed the fix here and the nightly will carry that soon.

    Will package up a new release of AutoFill with the fix probably next month (give a chance for any other issues to be found and reported).

    Allan

  • keith.abramokeith.abramo Posts: 37Questions: 6Answers: 0

    Thanks Allan! On top of things as always.

This discussion has been closed.