ColSizeEvent

Used to notify that the widths of two adjacent column are changed.

When an user drags the border of sizable columns, the width of the adjacent columns are changed accordingly - one is enlarged, the other is shrunk and the total width is not changed.

The event is sent to the parent (e.g., Columns and Treecols).

Class Name

org.zkoss.zul.event.ColSizeEvent

Methods

Name

Description

Data Type

getColIndex()

Return the column index of the first column whose width is changed.

int

getColumn1()

Returns the first column whose width is changed.

org.zkoss.zk.ui.Component

get Column2()

Returns the second column whose width is changed.

org.zkoss.zk.ui.Component

get Keys()

Returns what keys were pressed when the column is resized, or 0 if none of them was pressed.

int

Inherited From