⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfg.js

📁 别人的 ext工具 大家可以研究一下很不错 需要大家继续完善
💻 JS
📖 第 1 页 / 共 5 页
字号:
clicksToEdit:{type:"Number",desc:"The number of clicks on a cell required to display the cell's editor (defaults to 2)"}},"grid/GridDD.js":{},"grid/GridEditor.js":{},"grid/GridPanel.js":{columns:{type:"Array",desc:"An array of columns to auto create a ColumnModel"},store:{type:"Store",desc:"The Ext.data.Store the grid should use as it's data source"},cm:{type:"Store",desc:"An Ext.grid.ColumnModel for this grid"},sm:{type:"Object",desc:"The SelectionModel the grid should use to handle selections (shortcut of selModel)"},selModel:{type:"Object",desc:"The SelectionModel the grid should use to handle selections"},columns:{type:"Array",desc:"An array of columns to auto create a ColumnModel"},columns:{type:"Array",desc:"An array of columns to auto create a ColumnModel"},minColumnWidth:{type:"Number",desc:"The minimum width a column can be resized to. Defaults to 25."},monitorWindowResize:{type:"Boolean",desc:"True to autoSize the grid when the window resizes. Defaults to true."},maxRowsToMeasure:{type:"Boolean",desc:"If autoSizeColumns is on, maxRowsToMeasure can be used to limit the number of rows measured to get a columns size - defaults to 0 (all rows)."},trackMouseOver:{type:"Boolean",desc:"True to highlight rows when the mouse is over. Default is false."},enableDragDrop:{type:"Boolean",desc:"True to enable drag and drop of rows."},enableColumnMove:{type:"Boolean",desc:"True to enable drag and drop reorder of columns."},enableColumnHide:{type:"Boolean",desc:"True to enable hiding of columns with the header context menu."},enableHdMenu:{type:"Boolean",desc:"True to enable the drop down button for menu in the headers."},enableRowHeightSync:{type:"Boolean",desc:"True to manually sync row heights across locked and not locked rows."},stripeRows:{type:"Boolean",desc:"True to stripe the rows. Default is true."},autoExpandColumn:{type:"String",desc:"The id of a column in this grid that should expand to fill unused space. This id can not be 0."},autoExpandMin:{type:"Number",desc:"The minimum width the autoExpandColumn can have (if enabled). defaults to 50."},autoExpandMax:{type:"Number",desc:"The maximum width the autoExpandColumn can have (if enabled). Defaults to 1000."},view:{type:"Object",desc:"The {@link Ext.grid.GridView} used by the grid. This can be set before a call to render()."},loadMask:{type:"Object",desc:"An {@link Ext.LoadMask} config or true to mask the grid while loading (defaults to false)."},disableSelection:{type:"Boolean",desc:"(defaults to false)."},maxHeight:{type:"Number",desc:"Sets the maximum height of the grid - ignored if autoHeight is not on."}},"grid/GridView.js":{enableRowBody:{type:"Boolean",desc:"True to add a second TR element per row that can be used to provide a row body that spans beneath the data row. Use the {@link #getRowClass} method's rowParams config to customize the row body."},autoFill:{type:"Boolean",desc:"True to auto expand the columns to fit the grid <b>when the grid is created</b>."},forceFit:{type:"Boolean",desc:"True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling."}},"grid/GroupingView.js":{hideGroupedColumn:{type:"Boolean",desc:"True to hide the column that is currently grouped"},hideGroupedColumn:{type:"Boolean",desc:"True to hide the column that is currently grouped"},startCollapsed:{type:"Boolean",desc:"True to start all groups collapsed"},enableGroupingMenu:{type:"Boolean",desc:"True to enable the grouping control in the column menu"},enableNoGroups:{type:"Boolean",desc:"True to allow the user to turn off grouping"},emptyGroupText:{type:"String",desc:"The text to display when there is an empty group value"},groupTextTpl:{type:"String",desc:"The template used to render the group text"}},"grid/PropertyGrid.js":{},"grid/RowNumberer.js":{header:{type:"String",desc:"Any valid text or HTML fragment to display in the header cell for the row number column (defaults to '')."},width:{type:"Number",desc:"The default width in pixels of the row number column (defaults to 23)."},sortable:{type:"Boolean",desc:"True if the row number column is sortable (defaults to false)."}},"grid/RowSelectionModel.js":{singleSelect:{type:"Boolean",desc:"True to allow selection of only one row at a time (defaults to false)"}},"Layer.js":{shim:{type:"Boolean",desc:"False to disable the iframe shim in browsers which need one (defaults to true)"},shadow:{type:"String/Boolean",desc:"True to create a shadow element with default class \"x-layer-shadow\", or you can pass a string with a CSS class name. False turns off the shadow."},dh:{type:"Object",desc:"DomHelper object config to create element with (defaults to {tag: \"div\", cls: \"x-layer\"})."},constrain:{type:"Boolean",desc:"False to disable constrain to viewport (defaults to true)"},cls:{type:"String",desc:"CSS class to add to the element"},zindex:{type:"Number",desc:"Starting z-index (defaults to 11000)"},shadowOffset:{type:"Number",desc:"Number of pixels to offset the shadow (defaults to 3) @constructor @param {Object} config An object with config options. @param {String/HTMLElement} existingEl (optional) Uses an existing DOM element. If the element is not found it creates it."}},"layout/AccordianLayout.js":{fill:{type:"Boolean",desc:"True to adjust the active item's height to fill the available space in the container, false to use the item's current height, or auto height if not explicitly set (defaults to true)."},autoWidth:{type:"Boolean",desc:"True to set each contained item's width to 'auto', false to use the item's current width (defaults to true)."},titleCollapse:{type:"Boolean",desc:"True to allow expand/collapse of each contained panel by clicking anywhere on the title bar, false to allow expand/collapse only when the toggle tool button is clicked (defaults to true). When set to false, {@link #hideCollapseTool} should be false also."},hideCollapseTool:{type:"Boolean",desc:"True to hide the contained panels' collapse/expand toggle buttons, false to display them (defaults to false). When set to true, {@link #titleCollapse} should be true also."},collapseFirst:{type:"Boolean",desc:"True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the contained panels' title bars, false to render it last (defaults to false)."},animate:{type:"Boolean",desc:"True to slide the contained panels open and closed during expand/collapse using animation, false to open and close directly with no animation (defaults to false). Note: to defer to the specific config setting of each contained panel for this property, set this to undefined at the layout level."},activeOnTop:{type:"Boolean",desc:"True to swap the position of each panel as it is expanded so that it becomes the first item in the container, false to keep the panels in the rendered order (defaults to false)."}},"layout/AnchorLayout.js":{},"layout/BorderLayout.js":{animFloat:{type:"Boolean",desc:"When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel that will close again once the user mouses out of that panel (or clicks out if autoHide = false). Setting animFloat to false will prevent the open and close of these floated panels from being animated (defaults to true)."},autoHide:{type:"Boolean",desc:"When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel. If autoHide is true, the panel will automatically hide after the user mouses out of the panel. If autoHide is false, the panel will continue to display until the user clicks outside of the panel (defaults to true)."},collapseMode:{type:"String",desc:"By default, collapsible regions are collapsed by clicking the expand/collapse tool button that renders into the region's title bar. Optionally, when collapseMode is set to 'mini' the region's split bar will also display a small collapse button in the center of the bar. In 'mini' mode the region will collapse to a thinner bar than in normal mode. By default collapseMode is undefined, and the only two supported values are undefined and 'mini'. Note that if a collapsible region does not have a title bar, then collapseMode must be set to 'mini' in order for the region to be collapsible by the user as the tool button will not be rendered."},margins:{type:"Object",desc:"An object containing margins to apply to the region in the format {left: (left margin), top: (top margin), right: (right margin), bottom: (bottom margin)}"},cmargins:{type:"Object",desc:"An object containing margins to apply to the region's collapsed element in the format {left: (left margin), top: (top margin), right: (right margin), bottom: (bottom margin)}"},collapsible:{type:"Boolean",desc:"True to allow the user to collapse this region (defaults to false). If true, an expand/collapse tool button will automatically be rendered into the title bar of the region, otherwise the button will not be shown. Note that a title bar is required to display the toggle button -- if no region title is specified, the region will only be collapsible if {@link #collapseMode} is set to 'mini'."},split:{type:"Boolean",desc:"True to display a {@link Ext.SplitBar} between this region and its neighbor, allowing the user to resize the regions dynamically (defaults to false). When split = true, it is common to specify a {@link #minSize} and {@link #maxSize} for the region."},floatable:{type:"Boolean",desc:"True to allow clicking a collapsed region's bar to display the region's panel floated above the layout, false to force the user to fully expand a collapsed region by clicking the expand button to see it again (defaults to true)."},minWidth:{type:"Number",desc:"The minimum allowable width in pixels for this region (defaults to 50)"},minHeight:{type:"Number",desc:"The minimum allowable height in pixels for this region (defaults to 50)"},splitTip:{type:"String",desc:"The tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to \"Drag to resize.\"). Only applies if {@link #useSplitTips} = true."},collapsibleSplitTip:{type:"String",desc:"The tooltip to display when the user hovers over a collapsible region's split bar (defaults to \"Drag to resize. Double click to hide.\"). Only applies if {@link #useSplitTips} = true."},useSplitTips:{type:"Boolean",desc:"True to display a tooltip when the user hovers over a region's split bar (defaults to false). The tooltip text will be the value of either {@link #splitTip} or {@link #collapsibleSplitTip} as appropriate."}},"layout/CardLayout.js":{deferredRender:{type:"Boolean",desc:"True to render each contained item at the time it becomes active, false to render all contained items as soon as the layout is rendered (defaults to false). If there is a significant amount of content or a lot of heavy controls being rendered into panels that are not displayed by default, setting this to true might improve performance."}},"layout/ColumnLayout.js":{},"layout/ContainerLayout.js":{extraCls:{type:"String",desc:"An optional extra CSS class that will be added to the container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules."},renderHidden:{type:"Boolean",desc:"True to hide each contained item on render (defaults to false)."}},"layout/FitLayout.js":{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -