on 01-24-2008 11:55 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Snehal,
Icon can not be removed , if u have implemented the sorting once
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.