1
Answer

How to message on empty jsonarray in html table using juery?

Photo of Karthik K

Karthik K

1d
58
1

How to show the empty message on html table  on json array empty . 

 

i have tried the bellow  code its donesnt work 

if (isEmpty(jsonvalue) == true)
{
    console.log("len 0 called");
      $('#tablex').dataTable({
      "language": {
                "emptyTable": "No data available in table"
           }
      });


    
    $('#tablex').empty("Test");
     


}

Thanks in advance ,

Karthik.K 

Answers (1)