cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting table view columns

Former Member
0 Kudos

Hi ,

In my application i want to sort specific tableview columns.When i am keeping Sort="server" .Now the hand point showing sort on every column.I wanted to restrict this to specific column.If you have information can you give how exactly sort option will work when sort by server and sort by application.

Any weblogs available on sorting of tableview columns.

Regards

Usman

Accepted Solutions (1)

Accepted Solutions (1)

rainer_liebisch
Contributor
0 Kudos

Hi Usman,

you can do this either with a tableview iterator or with the extension htmlb:tableviewcolumn.

With the iterator you can change the behaviour of your columns in the method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS. The attribute P_COLUMN_DEFINITIONS is of type TABLEVIEWCONTROLTAB. With this attribute you can check "SORT" for a special column.

With the extension htmlb:tableviewcolumn you can use the attribute SORT.

Hoping this helps.

Regards,

Rainer

Former Member
0 Kudos

Hi Rainer,

Thanks for the reply,

Even in htmlbTableviewcolumn i am using Sort option like SORT="false" But it does n't have effect.when sort="false" its not sorting but action is performing on the column like its going to server and its showing the hand symbol when focus comes to column header.I need to show this hand symbol where ever the sort option is true.when sort option is false i don't want to show this symbol.How can i perform this.

Regrdas

Usman

Answers (0)