Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

how to get sorting order icon default table component

Avatar

Level 1

Hi

  i am working default table component ,i want extra icon for ascending and descending order for table columns? is it possible 

1 Accepted Solution

Avatar

Correct answer by
Level 10

On top of what @Jitendra and @Scott said,

If you do not want to customize the OOTB table component,

You can use JavaScript code to add those icons once this component renders on page.

Code wont be large and easy to write.

View solution in original post

3 Replies

Avatar

Level 9

I guess, we may have to customize it. If I recall it correctly, the OOTB table component has limited features.

--

Jitendra

Avatar

Level 10

You have 2 choices:

1 - overlay the table component and modify it.

2 - If the ootb table component does not meet your needs - then create your own custom component using a JQuery Table plug-in. You have many choices available: 

http://www.sitepoint.com/30-amazing-jquery-tables/

THis is the nice thing about AEM, You can easily build your own components when the OOTB ones do not meet your needs. 

Avatar

Correct answer by
Level 10

On top of what @Jitendra and @Scott said,

If you do not want to customize the OOTB table component,

You can use JavaScript code to add those icons once this component renders on page.

Code wont be large and easy to write.