내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Table Component

Avatar

이전 커뮤니티 멤버

How to add styles to the default table component

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

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.. 

원본 게시물의 솔루션 보기

2 답변 개

Avatar

Level 10

Override the table component by placing it under /apps and changing the code. 

Avatar

정확한 답변 작성자:
Level 10

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..