Autofill: How can you customize fill options?

Autofill: How can you customize fill options?

pybcgpybcg Posts: 41Questions: 10Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: I want to be able to customize fill options. For example, one of my columns is a a numbers column (1, 2, 3) which represents an ID. That ID gets rendered as an option of a select input element. However, when I try to autofill the column, it asks to A) increment each cell (I want to remove this) and B) Fill all cells with 1 (I'd rather have "Fill all cells with <OPTION LABEL>").

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin

    The documentation for this is available here. There is an example of a custom plug-in available here.

    To remove plug-ins just delete them:

    delete $.fn.dataTable.AutoFill.actions.increment;
    

    Allan

This discussion has been closed.