-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I was attempted to hide Column E with range from E1 to E120; however, it has no effect. Maybe this was not the proper way to do it?
@List("onClick = #processColumn")
private void hideColumn() {
//Hide Column E - from row E1 to E120
Range rowRange = Ranges.range(ss.getSelectedSheet(), "E1:E120");
CellOperationUtil.hide(rowRange);
rowRange.setHidden(true);
}
You can only hide/unhide entire columns/rows.
Also the documentation mentions you have to call toColumnRange
first, otherwise calling setHidden won't have any effect:
https://doc.keikai.io/dev-ref/bookmodel/HideRowsandColumns
Does this work in your case?
Asked: 2020-09-11 12:11:09 +0800
Seen: 7 times
Last updated: Sep 14 '20
How to control selectAll() feature in a Listbox with multiple=true and checkmark=true
ZK8 Wizard Series: Part 2 now released!
Faster And Lighter, The Performance Test On ZK8
org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
How To Check Dirty Status in ZK8?
Come and join the ''JS'' Hunt!