I have an ajax method that sends a request to URL and gets the response, I set the data to a table with a JQuery loop like below:
if (response.length>0){