xworker.html.extjs.ExtHtmlWidgtes/@ExtJs
事物 ExtJs(ExtJs)点击打开事物点击浏览描述

父事物:
ExtHtmlWidgtes
描述者:
事物
thing
继承:
ExtJs

字段摘要
           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
          
 
字段详细信息

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对象没有配置或需要自定义的代码时用,可以通过子节点生成。

虽然集成了Function对象,但参数等属性是不用的,主要是为了引用Function的子事物。


ColorMenu点击打开事物


ColorPalette点击打开事物


ColumnChart点击打开事物


ComboBox点击打开事物


Component点击打开事物


CompositeField点击打开事物


Container点击打开事物


CycleButton点击打开事物


DataObjectFormPanel点击打开事物

使用数据对象自动生成的表单。

1. 表单布局和输入

使用table布局,根据数据对象属性的rows和cols产生table的布局数据,根据属性所定义的输入方式动态生成对应的Extjs输入方式。

2. 自定义items

DataObjectFormPanel可以添加items子事物,但不建议这么。

如果添加了items子事物,仍然系统通过数据对象自动生成控件,那么设置追加模式为true。

3. 表单数据初始化和保存等

可以通过LoadFormFromDataObjectSubmitDataObject等表单相关函数实现,表单自身不会自动初始化,可以在其他函数里实现。

4. 文件上传

如果数据对象中有属性的输入方式为file或filePath,那么会设置表单的fileUpload属性为true。

 


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点击打开事物

远程控件。可用于弹出窗口、工作区的编辑器等。

远程控件实际上是通过url打开的可以初始化并运行的Extjs控件。

动态名称空间和动态的组件标识

   原理是动态组件是通过http请求并且是通过Freemarker最终输出javascript代码的,因此可以使用freemarker模板,并使用request或requestBean使用参数等。

   如果是动态的请重载getNamespace方法返回名称空间。

注意在一个系统里不同的远程的控件的以及控件内部的其他界面组件的标识不要重复。


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点击打开事物

常见问题:

  1. TreePanel必须有一个root节点,否则会报一个render的错误。

TriggerField点击打开事物


Viewport点击打开事物

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.


Window点击打开事物


XmlStore点击打开事物