How to add styles to the default table component
Solved! Go to Solution.
Views
Replies
Total Likes
More info - 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.
Hope this helps..
Views
Replies
Total Likes
Override the table component by placing it under /apps and changing the code.
Views
Replies
Total Likes
More info - 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.
Hope this helps..
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies