The table appears for a second and disappears in chrome

The table appears for a second and disappears in chrome

abhionabhion Posts: 3Questions: 2Answers: 0

I'm using angular datatables which I think uses this datatables. When I display the table the table appears for a second then disappears in chrome. I am able to see the table in firefox.

Answers

  • abhionabhion Posts: 3Questions: 2Answers: 0

    I found the problem..I think. I was loading the data directly from the response from the server.

    $scope.tableContent = response.data. I did this and it loads:

    $scope.tableContent = []; for(i=0;i<response.data.length){ $scope.tableContent.push( key: response.data[i].keyvalue, key2:response.data[i].keyvalue2 ) }

This discussion has been closed.