Data sources

DataTables can obtain data from four different fundamental sources:

  • HTML document (DOM)
  • JavaScript (array / objects)
  • Ajax sourced data with client-side processing
  • Ajax sourced data with server-side processing

Which of these options is used to populate the table data depends upon how the table is initialized. The examples in this section demonstrate how to use jQuery DataTables Checkboxes extension with these four different data source types.