How can I call inline.edit() on a specific cell coordinate?

How can I call inline.edit() on a specific cell coordinate?

chrisab429chrisab429 Posts: 3Questions: 1Answers: 0
edited January 2020 in DataTables 1.10

For instance something like this:

line 1) editor.inline($('#example').cell(3,3));

line 2) editor.inline('#example tbody tr:eq(3) td:eq(3)');

however those lines don't work...

I've been looking everywhere as well to try and figure out how to open editor on a specific cell grid by coordinates for a while, and in the documentation it states that inline.edit() can be call on the cell-selector which is a variant amount of objects being a cell node in datatables or like in the second line a jquery grid coordinate, neither work.

Any specific use case example would be much appreciated, thank you for the help so far!

Answers

  • chrisab429chrisab429 Posts: 3Questions: 1Answers: 0

    I'm so excited, I figured it out! So basically you just need to attach the index() on it as well, simply being:

    editor.inline(pipeline_t.cell(3,3).index());

    @allan 's answer here helped me out!

This discussion has been closed.