class type configs =Inheritsobject
..end
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-view'
method componentLayout : 'a. 'a Js.t Js.prop
The sizing and positioning of a Component's internal Elements is the responsibility of the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.
Generally, developers will not use this configuration as all provided Components which need their internal elements sizing (Such as input fields) come with their own componentLayout managers.
The default layout manager will be used on instances of the base Ext.Component class which simply sizes the Component's encapsulating element to the height and width specified in the setSize method.
Defaults to: 'tableview'
method enableTextSelection : bool Js.t Js.prop
True to enable text selections.
method firstCls : Js.js_string Js.t Js.prop
A CSS class to add to the first cell in every row to enable special styling for the first column.
If no styling is needed on the first column, this may be configured as null
.
Defaults to: 'x-grid-cell-first'
method itemSelector : Js.js_string Js.t Js.prop
view item (may be a wrapper)
This is a required setting. A simple CSS selector (e.g. div.some-class or span:first-child) that will be used to determine what nodes this DataView will be working with. The itemSelector is used to map DOM nodes to records. As such, there should only be one root level element that matches the selector for each record.
Defaults to: 'tr.' + Ext.baseCSSPrefix + 'grid-row'
method lastCls : Js.js_string Js.t Js.prop
A CSS class to add to the last cell in every row to enable special styling for the last column.
If no styling is needed on the last column, this may be configured as null
.
Defaults to: 'x-grid-cell-last'
method markDirty : bool Js.t Js.prop
True to show the dirty cell indicator when a cell has been modified.
Defaults to: true
method overItemCls : Js.js_string Js.t Js.prop
A CSS class to apply to each item in the view on mouseover.
Setting this will automatically set trackOver to true
.
Defaults to: Ext.baseCSSPrefix + 'grid-row-over'
method selectedItemCls : Js.js_string Js.t Js.prop
A CSS class to apply to each selected item in the view.
Defaults to: Ext.baseCSSPrefix + 'grid-row-selected'
method stripeRows : bool Js.t Js.prop
True to stripe the rows.
This causes the CSS class x-grid-row-alt
to be added to alternate rows of
the grid. A default CSS rule is provided which sets a background color, but you can override this
with a rule which either overrides the background-color style using the !important
modifier, or which uses a CSS selector of higher specificity.
Defaults to: true
method trackOver : bool Js.t Js.prop
cfg docs inherited
When true
the overItemCls will be applied to rows when hovered over.
This in return will also cause highlightitem and
unhighlightitem events to be fired.
Enabled automatically when the overItemCls config is set.
Defaults to: true
method beforeDestroy : ((< afterComponentLayout : 'd 'e.
('c Js.t,
Js.number Js.t ->
Js.number Js.t -> 'd Js.t -> 'e Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterHide : 'f 'g.
('c Js.t,
'f Js.callback Js.optdef -> 'g Js.t Js.optdef -> 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 : 'h 'i 'j.
('c Js.t,
'h Js.t Js.optdef ->
'i Js.callback Js.optdef -> 'j Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
autoEl : 'k. 'k Js.t Js.prop; autoRender : 'l. 'l 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 : 'b;
beforeLayout : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
beforeShow : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
blockRefresh : bool Js.t Js.prop; border : 'm. 'm Js.t Js.prop;
childEls : 'n. 'n Js.t Js.js_array Js.t Js.prop;
cls : Js.js_string Js.t Js.prop; columnWidth : 'o. 'o Js.t Js.prop;
componentCls : Js.js_string Js.t Js.prop;
componentLayout : 'a. 'a Js.t Js.prop; constrain : bool Js.t Js.prop;
constrainTo : 'p. 'p Js.t Js.prop;
constraintInsets : 'q. 'q Js.t Js.prop;
contentEl : Js.js_string Js.t Js.prop; data : 'r. 'r Js.t Js.prop;
defaultAlign : Js.js_string Js.t Js.prop;
deferEmptyText : bool Js.t Js.prop;
deferInitialRefresh : bool Js.t Js.prop;
disableSelection : 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 : 's. 's Js.t Js.prop;
emptyText : Js.js_string Js.t Js.prop;
enableTextSelection : bool Js.t Js.prop;
firstCls : Js.js_string 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 : 't. 't Js.t Js.prop;
id : Js.js_string Js.t Js.prop;
initComponent : ('c Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
itemCls : Js.js_string Js.t Js.prop; itemId : Js.js_string Js.t Js.prop;
itemSelector : Js.js_string Js.t Js.prop; itemTpl : 'u. 'u Js.t Js.prop;
lastCls : Js.js_string Js.t Js.prop; listeners : 'v. 'v Js.t Js.prop;
loadMask : 'w. 'w Js.t Js.prop; loader : 'x. 'x Js.t Js.prop;
loadingCls : Js.js_string Js.t Js.prop;
loadingHeight : Js.number Js.t Js.prop;
loadingText : Js.js_string Js.t Js.prop; margin : 'y. 'y Js.t Js.prop;
markDirty : bool 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;
mouseOverOutBuffer : Js.number Js.t Js.prop;
onAdded : 'z.
('c Js.t, 'z Js.t -> Js.number 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 : 'a1 'b1 'c1.
('c Js.t,
'a1 Js.t Js.optdef ->
'b1 Js.callback Js.optdef -> 'c1 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;
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 : 'd1 'e1 'f1 'g1.
('c Js.t,
'd1 Js.t -> 'e1 Js.t -> 'f1 Js.t -> 'g1 Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onShow : 'h1 'i1 'j1.
('c Js.t,
'h1 Js.t Js.optdef ->
'i1 Js.callback Js.optdef -> 'j1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onShowComplete : 'k1 'l1.
('c Js.t,
'k1 Js.callback Js.optdef ->
'l1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
overCls : Js.js_string Js.t Js.prop;
overItemCls : Js.js_string Js.t Js.prop;
overflowX : Js.js_string Js.t Js.prop;
overflowY : Js.js_string Js.t Js.prop; padding : 'm1. 'm1 Js.t Js.prop;
plugins : 'n1. 'n1 Js.t Js.prop;
preserveScrollOnRefresh : bool Js.t Js.prop;
region : 'o1. 'o1 Js.t Js.prop; renderData : 'p1. 'p1 Js.t Js.prop;
renderSelectors : 'q1. 'q1 Js.t Js.prop;
renderTo : 'r1. 'r1 Js.t Js.prop; renderTpl : 's1. 's1 Js.t Js.prop;
resizable : 't1. 't1 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;
selectedItemCls : Js.js_string Js.t Js.prop;
shadow : 'u1. 'u1 Js.t Js.prop; shadowOffset : Js.number Js.t Js.prop;
shrinkWrap : 'v1. 'v1 Js.t Js.prop; singleSelect : 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;
store : Ext_data_Store.t Js.t Js.prop; stripeRows : bool Js.t Js.prop;
style : 'w1. 'w1 Js.t Js.prop; toFrontOnShow : bool Js.t Js.prop;
tpl : 'x1. 'x1 Js.t Js.prop; tplWriteMode : Js.js_string Js.t Js.prop;
trackOver : bool Js.t Js.prop; ui : Js.js_string 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
t.beforeDestroy
method initComponent : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop
t.initComponent
method onDestroy : ('c Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop
t.onDestroy