JavaScript How do I refresh/reload my DataTable from HTML source

I'm using BackboneJS to populate my table with multiple data sources. You do not need to know Backbone to assist in this question, as the issue is mainly a DataTables issue.

I initialise my Datatable when the Collection View is rendered the first time.

My issue is that I don't know how to tell DataTables how to reload its data from the DOM after each ajax request. Any idea on how to do this?

Another example is when loading some data for each row and then updating it accordingly (done by Backbone View). But I need to let Datatables know that the DOM table has changed.

Example changing the table from:

<table>
  <thead>...</thead>
  <tbody>
    <tr>
        <td>Some Data</td>
        <td>Some Data2</td>
        <td>Loading...</td>
    </tr>
    ...
  </tbody>
</table>

To:

<table>
  <thead>...</thead>
  <tbody>
    <tr>
        <td>Some Data</td>
        <td>Some Data2</td>
        <td data-order="5" data-search="5"><span class="some_classes">5</span></td>
   </tr>
      ...
  </tbody>
</table>

Any assistance would be greatly appreciated.

Answer:1

I have a problem in dealing with PostgreSQL BYTEA type in Sails.js. Table definition (yes it is odd to create binary PK, but some_data is always small): CREATE TABLE data_blobs ( some_data BYTEA ...

I have a problem in dealing with PostgreSQL BYTEA type in Sails.js. Table definition (yes it is odd to create binary PK, but some_data is always small): CREATE TABLE data_blobs ( some_data BYTEA ...

  1. getting bytes from file java
  2. getting bytes from string c#
  3. getting bytes from nsdata
  4. getting bytes from string java
  5. getting bytes from inputstream

I'm using fetch API to call query the server in my React Native Application. But, My application taking 50 seconds to call then function after receiving the response from the server. Am I doing any ...

I'm using fetch API to call query the server in my React Native Application. But, My application taking 50 seconds to call then function after receiving the response from the server. Am I doing any ...

  1. taking much time
  2. taking too much time off work
  3. taking too much time synonym
  4. taking too much time
  5. taking too much time to boot
  6. taking so much time
  7. taking too much time to poop
  8. without taking much time
  9. taking too much time to shut down
  10. taking too much time off
  11. taking too much time to build gradle
  12. taking to much time off work
  13. taking too much time off work when pregnant
  14. gridview taking much time to load
  15. not taking much time
  16. taking too much time to die...no mercy
  17. taking too much time to create apple id
  18. taking too much time to eat
  19. not taking much time synonym
  20. taking too much time in decision making

I have a task that has a few rules. Basically, I am separating a number into groups of 3. If the last group only has 1 digit in it, then the last 2 groups have 2 digits instead of 1 group of 3 and 1 ...

I have a task that has a few rules. Basically, I am separating a number into groups of 3. If the last group only has 1 digit in it, then the last 2 groups have 2 digits instead of 1 group of 3 and 1 ...

  1. javascript regex conditional replace
  2. javascript regex conditional group
  3. javascript regex conditional
  4. javascript regex conditional match
  5. javascript regex conditional operator
  6. javascript regex conditional statement
  7. js regex conditional

I am trying to authenticate a user using the Basic Authentication protocol in Jquery but it keeps giving error:"XMLHttpRequest cannot load https://api.credly.com/v1.1/authenticate. Request header ...

I am trying to authenticate a user using the Basic Authentication protocol in Jquery but it keeps giving error:"XMLHttpRequest cannot load https://api.credly.com/v1.1/authenticate. Request header ...

  1. basic auth work
  2. basic auth not working in postman
  3. basic auth not working
  4. basic auth not working apache
  5. basic auth not working kubernetes
  6. basic auth doesn't work
  7. basic auth header not working
  8. auth basic not working nginx
  9. basic auth post not working
  10. traefik basic auth not working
  11. axios basic auth not working
  12. htaccess basic auth not working
  13. auth_basic off not working
  14. apache2 basic auth not working
  15. basic auth in url not working
  16. curl basic auth not working
  17. express-basic-auth not working
  18. grafana basic auth not working
  19. swagger basic auth not working
  20. flask basic auth not working