Class Index | File Index

Classes


Class links.TreeGrid.Header


Defined in: treegrid.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
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
 
Recalculate the size of the DOM elements of the header
 
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

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Nov 20 2015 11:10:07 GMT+0100 (CET)