How to delete first row empty

How to delete first row empty

reichskommisaraitreichskommisarait Posts: 11Questions: 0Answers: 0

https://ibb.co/Cz2B1wR

Here image. I don't know what is this call

Replies

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

    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

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    You have a click event with this statement:

    myTable.row( ':eq(0)' ).delete( {
        title: 'Delete first row'
    } );
    

    Does this statement give errors?

    You also have this statement in the click event:

    table.columns.adjust().draw();
    

    Maybe myTable should be the variable table?

    Please provide more details of what you are trying to do and how to recreate the issue in your test case.

    Kevin

  • reichskommisaraitreichskommisarait Posts: 11Questions: 0Answers: 0

    I'm very new I've tried it through a google search and tried it several times. Until no errors were found

  • reichskommisaraitreichskommisarait Posts: 11Questions: 0Answers: 0
        th,
        td่,tr
         {
            padding: 5px;
            font-size: 15px;
            text-align: Left;
            /* width: 1000px; */
            /* border-bottom: 1px solid #ddd; */
            /* white-space: nowrap; */
    
        }
    

    I solved the problem Is what defines my style. Just edit padding

This discussion has been closed.