-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a listheader like this
<listheader id='lh3' label="Quantity" sort="auto(lower(value))"/>
I need to remove the sort sometime i have use this method.
final Listheader header = .....
header.setSort(null);
But it stills have the sort attrribute i cannot get the sort because the header doesn't have a getSort() method this is a kinda weird!!!
I am doing it all wrong? What can i do to remove the sort attribute programmatically..
Thanks a lot and best regards from Venezuela
Nothing weird there... and reading the documentation on setSort you'll find that it's a shorthand method for calling setSortAscending/setSortDescending (which both have getters).
However the documentation also states that calling
header.setSort("none");
will remove the sorting comparators. Did you try that already?
Asked: 2017-06-12 21:32:01 +0800
Seen: 20 times
Last updated: Jun 14 '17
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate