AutoFill Cells column name

AutoFill Cells column name

singhswatsinghswat Posts: 20Questions: 7Answers: 0
edited November 2018 in Free community support

Hi,

I have recently implemented autofill functionality which works fine but I need to know the cells column name? How can I get column name?

 $("#tableDT").on("click", "td", function () {
                var th = $('#tableDT th').eq($(this).index());
                selectedtable = 'detail';
                selectedcolumn = th.text(); // this does't work because for Autofill we don't click on cell instead we click on corner square
            });

Implementation: since the column where in I have implemented autofill generates score so after as soon as autofill is completed I want to know the column name so that I can fire my generate score function.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @singhswat ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.