Class type Ext_grid_header_Container.configs


class type configs = object .. end
Inherits
method baseCls : Js.js_string Js.t Js.prop

The base CSS class to apply to this component's element. This will also be prepended to elements within this component like Panel's body will get a class x-panel-body. This means that if you create a subclass of Panel, and you want it to get all the Panels styling for the element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this component.

Defaults to: Ext.baseCSSPrefix + 'grid-header-ct'

method border : 'a. 'a Js.t Js.prop

Specifies the border size for this component. The border can be a single numeric value to apply to all sides or it can be a CSS style specification for each style, for example: '10 5 3 10' (top, right, bottom, left).

For components that have no border by default, setting this won't make the border appear by itself. You also need to specify border color and style:

border: 5,
style: {
    borderColor: 'red',
    borderStyle: 'solid'
}

To turn off the border, use border: false.

Defaults to: true

method defaultType : Js.js_string Js.t Js.prop

The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated Component.

Defaults to: 'gridcolumn'

method defaultWidth : Js.number Js.t Js.prop

Width of the header if no width or flex is specified.

Defaults to: 100

method detachOnRemove : bool Js.t Js.prop

True to move any component to the detachedBody when the component is removed from this container. This option is only applicable when the component is not destroyed while being removed, see autoDestroy and remove. If this option is set to false, the DOM of the component will remain in the current place until it is explicitly moved.

Defaults to: false

method enableColumnHide : bool Js.t Js.prop

False to disable column hiding within this grid.

Defaults to: true

method sealed : bool Js.t Js.prop

Specify as true to constrain column dragging so that a column cannot be dragged into or out of this column.

Note that this config is only valid for column headers which contain child column headers, eg: { sealed: true text: 'ExtJS', columns: [{ text: '3.0.4', dataIndex: 'ext304' }, { text: '4.1.0', dataIndex: 'ext410' } }

Defaults to: false

method sortable : bool Js.t Js.prop

Provides the default sortable state for all Headers within this HeaderContainer. Also turns on or off the menus in the HeaderContainer. Note that the menu is shared across every header and therefore turning it off will remove the menu items for every header.

Defaults to: true

method weight : Js.number Js.t Js.prop

HeaderContainer overrides the default weight of 0 for all docked items to 100. This is so that it has more priority over things like toolbars.

Defaults to: 100

method initComponent : ((< activeItem : 'd. 'd Js.t Js.prop;
afterComponentLayout : 'e 'f.
('c Js.t,
Js.number Js.t ->
Js.number Js.t -> 'e Js.t -> 'f Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterHide : 'g 'h.
('c Js.t,
'g Js.callback Js.optdef -> 'h Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
afterLayout : 'i.
('c Js.t,
(#Ext_layout_container_Container.t as 'i) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterRender : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
afterSetPosition : ('c Js.t, Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterShow : 'j 'k 'l.
('c Js.t,
'j Js.t Js.optdef ->
'k Js.callback Js.optdef -> 'l Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
anchorSize : 'm. 'm Js.t Js.prop; autoDestroy : bool Js.t Js.prop;
autoEl : 'n. 'n Js.t Js.prop; autoRender : 'o. 'o Js.t Js.prop;
autoScroll : bool Js.t Js.prop; autoShow : bool Js.t Js.prop;
baseCls : Js.js_string Js.t Js.prop;
beforeComponentLayout : ('c Js.t,
Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
beforeDestroy : ('c Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
beforeLayout : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
beforeShow : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
border : 'a. 'a Js.t Js.prop;
bubbleEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;
childEls : 'p. 'p Js.t Js.js_array Js.t Js.prop;
cls : Js.js_string Js.t Js.prop; columnWidth : 'q. 'q Js.t Js.prop;
componentCls : Js.js_string Js.t Js.prop;
componentLayout : 'r. 'r Js.t Js.prop; constrain : bool Js.t Js.prop;
constrainTo : 's. 's Js.t Js.prop;
constraintInsets : 't. 't Js.t Js.prop;
contentEl : Js.js_string Js.t Js.prop; data : 'u. 'u Js.t Js.prop;
defaultAlign : Js.js_string Js.t Js.prop;
defaultType : Js.js_string Js.t Js.prop;
defaultWidth : Js.number Js.t Js.prop; defaults : 'v. 'v Js.t Js.prop;
detachOnRemove : bool Js.t Js.prop; disabled : bool Js.t Js.prop;
disabledCls : Js.js_string Js.t Js.prop; draggable : bool Js.t Js.prop;
draggable_obj : 'w. 'w Js.t Js.prop;
enableColumnHide : bool Js.t Js.prop; fixed : bool Js.t Js.prop;
floating : bool Js.t Js.prop; focusOnToFront : bool Js.t Js.prop;
formBind : bool Js.t Js.prop; frame : bool Js.t Js.prop;
height : Js.number Js.t Js.prop; hidden : bool Js.t Js.prop;
hideMode : Js.js_string Js.t Js.prop; html : 'x. 'x Js.t Js.prop;
id : Js.js_string Js.t Js.prop; initComponent : 'b;
itemId : Js.js_string Js.t Js.prop; items : 'y. 'y Js.t Js.prop;
layout : 'z. 'z Js.t Js.prop; listeners : 'a1. 'a1 Js.t Js.prop;
loader : 'b1. 'b1 Js.t Js.prop; margin : 'c1. 'c1 Js.t Js.prop;
maxHeight : Js.number Js.t Js.prop; maxWidth : Js.number Js.t Js.prop;
minHeight : Js.number Js.t Js.prop; minWidth : Js.number Js.t Js.prop;
onAdd : 'd1.
('c Js.t,
(#Ext_Component.t as 'd1) Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onAdded : 'e1.
('c Js.t, 'e1 Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onBeforeAdd : 'f1.
('c Js.t, (#Ext_Component.t as 'f1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onDestroy : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onDisable : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onEnable : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onHide : 'g1 'h1 'i1.
('c Js.t,
'g1 Js.t Js.optdef ->
'h1 Js.callback Js.optdef -> 'i1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onPosition : ('c Js.t, Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onRemove : 'j1.
('c Js.t,
(#Ext_Component.t as 'j1) Js.t -> bool Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onRemoved : ('c Js.t, bool Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
onRender : ('c Js.t, Ext_dom_Element.t Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onResize : 'k1 'l1 'm1 'n1.
('c Js.t,
'k1 Js.t -> 'l1 Js.t -> 'm1 Js.t -> 'n1 Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onShow : 'o1 'p1 'q1.
('c Js.t,
'o1 Js.t Js.optdef ->
'p1 Js.callback Js.optdef -> 'q1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onShowComplete : 'r1 's1.
('c Js.t,
'r1 Js.callback Js.optdef ->
's1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
overCls : Js.js_string Js.t Js.prop;
overflowX : Js.js_string Js.t Js.prop;
overflowY : Js.js_string Js.t Js.prop; padding : 't1. 't1 Js.t Js.prop;
plugins : 'u1. 'u1 Js.t Js.prop; region : 'v1. 'v1 Js.t Js.prop;
renderData : 'w1. 'w1 Js.t Js.prop;
renderSelectors : 'x1. 'x1 Js.t Js.prop;
renderTo : 'y1. 'y1 Js.t Js.prop; renderTpl : 'z1. 'z1 Js.t Js.prop;
resizable : 'a2. 'a2 Js.t Js.prop;
resizeHandles : Js.js_string Js.t Js.prop; rtl : bool Js.t Js.prop;
saveDelay : Js.number Js.t Js.prop; sealed : bool Js.t Js.prop;
shadow : 'b2. 'b2 Js.t Js.prop; shadowOffset : Js.number Js.t Js.prop;
shrinkWrap : 'c2. 'c2 Js.t Js.prop; sortable : bool Js.t Js.prop;
stateEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;
stateId : Js.js_string Js.t Js.prop; stateful : bool Js.t Js.prop;
style : 'd2. 'd2 Js.t Js.prop; suspendLayout : bool Js.t Js.prop;
toFrontOnShow : bool Js.t Js.prop; tpl : 'e2. 'e2 Js.t Js.prop;
tplWriteMode : Js.js_string Js.t Js.prop; ui : Js.js_string Js.t Js.prop;
weight : Js.number Js.t Js.prop; width : Js.number Js.t Js.prop;
xtype : Js.js_string Js.t Js.prop; .. >
as 'c)
Js.t, unit -> unit)
Js.meth_callback Js.writeonly_prop as 'b
See method t.initComponent
method onAdd : 'd1.
('c Js.t, (#Ext_Component.t as 'd1) Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop
See method t.onAdd
method onDestroy : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop
See method t.onDestroy
method onRemove : 'j1.
('c Js.t, (#Ext_Component.t as 'j1) Js.t -> bool Js.t -> unit)
Js.meth_callback Js.writeonly_prop
See method t.onRemove
method onShow : 'o1 'p1 'q1.
('c Js.t,
'o1 Js.t Js.optdef ->
'p1 Js.callback Js.optdef -> 'q1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop
See method t.onShow