Class links.TreeGrid.Header
Defined in: treegrid.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
Clear the header of the grid
|
|
Calculate the width of the fields from the HTML DOM
|
|
onEvent(event)
Handle a click on an action icon in a header
|
|
reflow()
Recalculate the size of the DOM elements of the header
|
|
repaint()
Redraw the header of the grid
|
|
setFields(columns)
store a link to the columns
TODO: comment
|
Class Detail
links.TreeGrid.Header()
- Parameters:
- {Object} params.
- A key-value map containing parameters: height, options
Method Detail
clearFields()
Clear the header of the grid
{Number[]}
getFieldWidths()
Calculate the width of the fields from the HTML DOM
- Returns:
- {Number[]} widths
onEvent(event)
Handle a click on an action icon in a header
- Parameters:
- {string} event
{Boolean}
reflow()
Recalculate the size of the DOM elements of the header
- Returns:
- {Boolean} resized
repaint()
Redraw the header of the grid
setFields(columns)
store a link to the columns
TODO: comment
- Parameters:
- {Array} columns