How to add styles to the default table Component
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Are you talking about AEM OOTB component?
If so, then
copy table component here:
/libs/foundation/components/table
place under /apps/<yourproject>/components
Then open the code here:
/apps/<yourproject>/components/table/table.jsp.
Add your style changes to the code. You can include a clientlibs too that contains a CSS.
Make sure you change the title (the jcr:title prop of the table compoent under /apps) of the component too so you can easily see the new component. Name it something like NewTable.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi
Are you talking about AEM OOTB component?
If so, then
copy table component here:
/libs/foundation/components/table
place under /apps/<yourproject>/components
Then open the code here:
/apps/<yourproject>/components/table/table.jsp.
Add your style changes to the code. You can include a clientlibs too that contains a CSS.
Make sure you change the title (the jcr:title prop of the table compoent under /apps) of the component too so you can easily see the new component. Name it something like NewTable.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes