cancel
Showing results for 
Search instead for 
Did you mean: 

sorting symbol on table column

Former Member
0 Kudos

Hi,

After i sort a table by clicking a column ascending or descending symbol appears on the column header and the table data is sorted according to it.

my application has a refresh button, which fetches the table data again from backend. And this time sorting is lost however the sorting symbole still remains on column header. I need to remove this symbol after clicking refresh.

Accepted Solutions (0)

Answers (3)

Answers (3)

snehal_kendre
Active Contributor
0 Kudos

just for your information i did some R&D and found a method using it you can remove that icon.

u can point a table

IWDTable table = (IWDTable) view.getElement("table name");

then access selected column or u can use

"i" as a counter

table().getColumn(i).getHeader().setImageSource(null);

it worked for me

Former Member
0 Kudos

you try to sort the values form the back end itself.As soon as you refresh sorting will be done from the back end bapi itself.

Former Member
0 Kudos

HI Snehal,

Icon can not be removed , if u have implemented the sorting once

regards

Sumit

snehal_kendre
Active Contributor
0 Kudos

Hi Sumit,

just for your information i did some R&D and found a method using it you can remove that icon.

u can point a table

IWDTable table = (IWDTable) view.getElement("table name");

then access selected column or u can use

"i" as a counter

table().getColumn(i).getHeader().setImageSource(null);

it worked for me