Expand my Community achievements bar.

SOLVED

Using DataTable in Adaptive Forms

Avatar

Level 4

Hello,

 

I came across the following post on how to use DataTables in AEM. 

Datatables in Adaptive Forms – Forms.life

 

Unfortunately, the link to the full example package is no longer working. When downloading DataTables, how do you include it into AEM and create a client library from it? Thank you

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@techddx create a client lib, now create a  file with name 'datatable.js' and place the minified js in it copied from cdn[below] and similarly do for CSS.

 

Now include this client lib as part of the guide root container by mapping category.

 

https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js

https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css

View solution in original post

6 Replies

Avatar

Correct answer by
Employee Advisor

@techddx create a client lib, now create a  file with name 'datatable.js' and place the minified js in it copied from cdn[below] and similarly do for CSS.

 

Now include this client lib as part of the guide root container by mapping category.

 

https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js

https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css

Avatar

Level 5

Thanks for pointing this one out, it's a useful solution. I will try it too.

Avatar

Level 4

I was able to get it working too. It is data only and now I'm looking into making the fields fillable.

Avatar

Level 4

I was able to get the editing to work with the Editor plugin