cancel
Showing results for 
Search instead for 
Did you mean: 

Remove/Hide sort for one of the table column

Former Member
0 Kudos

Hi all,

I have applied the sort functionality for the table control. But for only column i dont need the sort function.

I have tried with the below code before doing sorting...but i dont see any result....

ONACTIONSORT

data : gr_col type ref to CL_WD_ABSTR_TABLE_COLUMN.

CALL METHOD wd_this->table1->REMOVE_GROUPED_COLUMN

EXPORTING

id = 'TABLECOLUMN'

index = '8'

receiving

THE_GROUPED_COLUMN = gr_col

wd_this->table_control1->apply_sorting( )..

Could somebody suggest me how can to remove the sort function for a particular column.

Regards

Sireesha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Go to view layout -table control - your respective table column - there is a property called as Sort State. Set it to nonSortable.

Regards

Manas Dua

Former Member
0 Kudos

Hi manas,

Thank u so much. Its working fine.

points assigned to you....

Regards

sireesha.

Answers (0)