Skip to main content
Feb 19, 2016 10:38 AM UTC
Solved

how to get sorting order icon default table component

Hi

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Feb 19, 2016 4:43 PM UTC

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.

3 replies

Jitendra_S_Toma
Level 10
Feb 19, 2016 2:33 PM UTC

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

--

Jitendra

Translate
smacdonald2008
Level 10
Feb 19, 2016 3:01 PM UTC

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. 

Translate
edubey
edubeyAccepted solution
Level 10
Feb 19, 2016 4:43 PM UTC

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.

Translate