Autonumeric not work in rowNode

Autonumeric not work in rowNode

prayogadhiprayogadhi Posts: 1Questions: 1Answers: 0
edited September 2019 in Free community support
$('#addRow').on( 'click', function () {
        var rowNode = table.row.add( [
            '<span id="remove_estimasi"><a href="#" class="remove-item" data-toggle="tooltip" data-original-title="Up here!"><i class="pg-close"></i></a></span>',
            '<input type="text" id="text_name_product" class="form-control no-border" style="height: 41px;">',
            '<input type="text" data-a-sign=" pcs" data-p-sign="s" id="text_qty_product" class="quantity form-control no-border" style="height: 41px;">'
        ] ).draw( false )
        .node();
        $( rowNode ).find('td').eq(1).addClass('no-padding');
        $( rowNode ).find('td').eq(2).addClass('no-padding');
        counter++;
    } );

my autonumeric not work only in this rowNode, please help!

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @prayogadhi ,

    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.