public static class TreeGrid.Options
extends AbstractDrawOptions
Modifier | Constructor and Description |
---|---|
protected |
TreeGrid.Options()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static TreeGrid.Options |
create()
Create a Javascript object instance of Options()
|
void |
setHeight(int height)
Set the height for the treegrid in pixels.
|
void |
setHeight(java.lang.String height)
Set the height for the treegrid in pixels or percentages.
|
void |
setItemHeight(int height)
Deprecated.
use setItemsDefaultHeight(int defaultHeight) instead
|
void |
setItemsDefaultHeight(int defaultHeight)
Set the default height for items in the TreeGrid in pixels.
|
void |
setItemsMinHeight(int minHeight)
Set the minimum height for items in the TreeGrid in pixels.
|
void |
setWidth(int width)
Set the width for the treegrid in pixels.
|
void |
setWidth(java.lang.String width)
Set the width for the treegrid in pixels or percentages.
|
public static TreeGrid.Options create()
public final void setWidth(int width)
width
- Width in pixelspublic final void setWidth(java.lang.String width)
width
- Width as a string, for example "100%" or "500px"public final void setHeight(int height)
height
- Height in pixelspublic final void setHeight(java.lang.String height)
height
- Height as a string, for example "100%" or "500px", or
"auto"public final void setItemHeight(int height)
height
- public final void setItemsDefaultHeight(int defaultHeight)
height
- public final void setItemsMinHeight(int minHeight)
minHeight
-