Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Html source Data Table

Avatar

Level 3

what is the difference between table and data table.??

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi Pradeep

It's Jquery, you can simply implement like any other jquery implementations in aem.

Here I attached couple of links that how can we convert table into data table.

https://datatables.net/examples/data_sources/dom.html

http://stackoverflow.com/questions/20396454/how-to-convert-html-table-into-jquery-datatable

https://www.youtube.com/watch?v=WGWruWXwGNQ

https://www.youtube.com/watch?v=GA03MzN9QFg

Thanks,

Vamsi

View solution in original post

3 Replies

Avatar

Level 4

Hi, Pradeep

Table is an abstraction for an HTML table, i.e., <table><tr><td></td></tr></table>.  

DataTable refers to a matrix of information, like an excel spreadsheet with columns, rows, and data. 

Table is used strictly for HTML markup on the page, and DataTable is just a data storage medium which caontains, paging, sorting, and search functionality inbuilt.

They are not really related.

You can convert table into DataTable using jquery plugin. 

https://datatables.net/

Thanks,

Vamsi

Avatar

Level 3

Thanks Vamsi,

Any reference link would be helpful how we can do in aem.?

 

Thanks.

Avatar

Correct answer by
Level 4

Hi Pradeep

It's Jquery, you can simply implement like any other jquery implementations in aem.

Here I attached couple of links that how can we convert table into data table.

https://datatables.net/examples/data_sources/dom.html

http://stackoverflow.com/questions/20396454/how-to-convert-html-table-into-jquery-datatable

https://www.youtube.com/watch?v=WGWruWXwGNQ

https://www.youtube.com/watch?v=GA03MzN9QFg

Thanks,

Vamsi