字段摘要 | |
---|---|
String |
debug
如果为true那么引入ext-all-debug.js,否则引入ext-all.js,默认false。 |
方法摘要 | |
---|---|
|
commonScriptLib
|
|
getCommonScriptLib
|
|
httpDo
|
|
menu_generateJavaScript
|
|
toHtml
|
|
toJavaScriptCode
|
|
toJsCode
|
|
toJsOnReadyCode
|
子事物摘要 | |
---|---|
|
ArrayStore
|
|
BarChart
|
|
BaseItem
|
|
BoxComponent
|
|
Button
|
|
ButtonGroup
|
|
CartesianChart
|
|
Chart
|
|
CheckItem
|
|
Checkbox
|
|
CheckboxGroup
|
|
Code
直接编写JavaScript代码的地方,在JavaScript对象没有配置或需要自定义的代码时用,可以通过子节点生成。 |
|
ColorMenu
|
|
ColorPalette
|
|
ColumnChart
|
|
ComboBox
|
|
Component
|
|
CompositeField
|
|
Container
|
|
CycleButton
|
|
DataObjectFormPanel
使用数据对象自动生成的表单。 |
|
DataObjectGridPanel
继承Ext.GridPanel,如果自身没有定义columns或store,那么从DataObject中自动创建。 |
|
DataObjectJsonStore
使用数据对象设置的JsonStore。 |
|
DataView
|
|
DateField
|
|
DateMenu
|
|
DatePicker
|
|
DateTime
|
|
DirectStore
|
|
DisplayField
|
|
Editor
|
|
EditorGridPanel
|
|
Field
|
|
FieldSet
|
|
Fill
|
|
FlashComponent
|
|
FormPanel
|
|
GridPanel
This class represents the primary interface of a component based grid control to represent data in a tabular format of rows and columns. The GridPanel is composed of the following: |
|
GroupingStore
|
|
Hidden
|
|
HtmlEditor
|
|
Item
|
|
JsonStore
|
|
Label
|
|
LineChart
|
|
ListView
|
|
Menu
|
|
MultiSelect
|
|
MultiSlider
|
|
NumberField
|
|
PagingToolbar
|
|
Panel
|
|
PieChart
|
|
ProgressBar
|
|
PropertyGrid
|
|
Radio
|
|
RadioGroup
|
|
RemoteWidget
远程控件。可用于弹出窗口、工作区的编辑器等。 |
|
SearchOpen
一个通过弹出窗口设置输入框的值。弹出窗口可以访问自身的parentFn,它是输入框。 |
|
SelectBox
|
|
Separator
|
|
SingleSlider
|
|
Spacer
|
|
SplitButton
|
|
StackedBarChart
|
|
StackedColumnChart
|
|
Store
|
|
TabPanel
A basic tab container. TabPanels can be used exactly like a standard Ext.Panel for layout purposes, but also have special support for containing child Components (items) that are managed using a CardLayout layout manager, and displayed as separate tabs. |
|
TextArea
|
|
TextField
|
|
TextItem
|
|
TimeField
|
|
Toolbar
|
|
TreePanel
常见问题: |
|
TriggerField
|
|
Viewport
A specialized container representing the viewable application area (the browser viewport). |
|
Window
|
|
XmlStore
|
字段详细信息 |
---|
如果为true那么引入ext-all-debug.js,否则引入ext-all.js,默认false。
方法详细信息 |
---|
子事物详细信息 |
---|
直接编写JavaScript代码的地方,在JavaScript对象没有配置或需要自定义的代码时用,可以通过子节点生成。
虽然集成了Function对象,但参数等属性是不用的,主要是为了引用Function的子事物。
使用数据对象自动生成的表单。
1. 表单布局和输入
使用table布局,根据数据对象属性的rows和cols产生table的布局数据,根据属性所定义的输入方式动态生成对应的Extjs输入方式。
2. 自定义items
DataObjectFormPanel可以添加items子事物,但不建议这么。
如果添加了items子事物,仍然系统通过数据对象自动生成控件,那么设置追加模式为true。
3. 表单数据初始化和保存等
可以通过LoadFormFromDataObject或SubmitDataObject等表单相关函数实现,表单自身不会自动初始化,可以在其他函数里实现。
4. 文件上传
如果数据对象中有属性的输入方式为file或filePath,那么会设置表单的fileUpload属性为true。
继承Ext.GridPanel,如果自身没有定义columns或store,那么从DataObject中自动创建。
使用数据对象设置的JsonStore。
This class represents the primary interface of a component based grid control to represent data in a tabular format of rows and columns. The GridPanel is composed of the following:
远程控件。可用于弹出窗口、工作区的编辑器等。
远程控件实际上是通过url打开的可以初始化并运行的Extjs控件。
动态名称空间和动态的组件标识
原理是动态组件是通过http请求并且是通过Freemarker最终输出javascript代码的,因此可以使用freemarker模板,并使用request或requestBean使用参数等。
如果是动态的请重载getNamespace方法返回名称空间。
注意在一个系统里不同的远程的控件的以及控件内部的其他界面组件的标识不要重复。
一个通过弹出窗口设置输入框的值。弹出窗口可以访问自身的parentFn,它是输入框。
A basic tab container. TabPanels can be used exactly like a standard Ext.Panel for layout purposes, but also have special support for containing child Components (items) that are managed using a CardLayout layout manager, and displayed as separate tabs.
常见问题:
A specialized container representing the viewable application area (the browser viewport).
The Viewport renders itself to the document body, and automatically sizes itself to the size of the browser viewport and manages window resizing. There may only be one Viewport created in a page. Inner layouts are available by virtue of the fact that all Panels added to the Viewport, either through its items, or through the items, or the add method of any of its child Panels may themselves have a layout.
The Viewport does not provide scrolling, so child Panels within the Viewport should provide for scrolling if needed using the autoScroll config.