ExtJS 4 beta 2发布了
2011年04月07日
Release Notes: April 6, 2011
Version Number: 4.0.0beta2 Fix tabs mouseover in GroupTabPanel examples
Fix double rendering when quickly expanding / collapsing tree nodes
[EXTJSIV-466] Ensure cls config is applied to MessageBoxWindow
Fix issue where box layout margins could be improperly calculated
[EXTJSIV-470] Remove the permanent CheckHeader editor and place it only on the row editing example
Fix Tree keyboard navigation
Don't show loading indicator when trying to expand an already expanded tree node
[EXTJSIV-504] Fix alignment of fieldset legend checkbox
[EXTJSIV-502] Remove persistent scrollbar from Ext.form.Textarea and Ext.form.HtmlEditor source editor
[EXTJSIV-213] Fix BoxReorderer issues
[EXTJSIV-537] Fix an issue that allows multiple selection on the chart
[EXTJSIV-529] Element.highlight() fx function will now function properly, and can handle Anim callbacks
[EXTJSIV-539] We no longer allow the tb text field to be orderable in the multisort example
[EXTJSIV-540] Buttons will no longer show mouseover effects when disabled
[EXTJSIV-545] Fix duplicate id bug in grid -> grid DD example
[EXTJSIV-417] Fixed issue with field heights
[EXTJSIV-492] Fix application of overCls when the delegate option is used
[EXTJSIV-513] Ensure that mouseup when dragging the drag selector, and the subsequent click event does not clear selections in the DataView
[EXTJSIV-474] Fix ghosting of Windows during drag on IE combobox dropdown from getting closed before the selectOnTab handler has a chance to fire in WebKit
[EXTJSIV-622] When IE9 positions an element offscreen via offsets, the offsetWidth is inaccurately reported. For IE9 only, we render on screen before removing. Fixes an issue with Ext.getScrollBarWidth
[EXTJSIV-439] Changed images for the DataView examples to gif for IE6
[EXTJSIV-615] Fix an issue when using an idProperty other than "id"
RowEditor will handle resize, move, show, and hide of columns properly before the editor is brought up for the first time
[EXTJSIV-480] Table layout: added work around for a bug in Opera 10.5 where it makes table cells wider than they should be if their child element has border-box sizing and horizontal padding
[EXTJSIV-641] Fix an issue with creating items into a local storage object
[EXTJSIV-440][EXTJSIV-633] Fix Ext.ux.AnimatedDataView cross-browser issue
CellEditing will complete an edit before grabbing critical information about the next edit, since the view is refreshed upon edit completion
[EXTJSIV-371] CellEditing and CellModel will continue cell editing on tabs even across cells with no editor, and stop when the editing ends via a non-tab exit point such as blurring the field
[EXTJSIV-606] Constrained Windows no longer lose their center positioning
[EXTJSIV-508] Give a visual indication of a selected/focused tree node in the check-tree example
[EXTJSIV-508] Tree selection model handles enter/space to check any checkbox tree nodes
[EXTJSIV-663] Ensure ServerProxy checks if the value is defined as opposed to just truthy
[EXTJSIV-593] Numeric axis is now aware of chart substores, that way it can update when grouping/ungrouping time axis
[EXTJSIV-401][EXTJSIV-496] Rework active/inactive tab styling to be consistent across all browsers and avoid the floating border strip
[EXTJSIV-73] Optimized class system performance - round 1
Added a simple Gauge Chart
Add Ext.Array.sort which is a guaranteed stable sort
[EXTJSIV-556] Implement a buffered grid example loading thousands records and buffering the rendering. Required minor changes to PagingScroller, BufferStore and related classes
[EXTJSIV-193] Put iconCls and tools into ghosted windows
[EXTJSIV-471] RowEditing will now scroll the buttons into view when they are out of sight due to being near the bottom. Also will enforce row selection and keeping a row in view when starting an edit for smoother animations
[EXTJSIV-426] Remove redundant validation for allowBlank in Ext.form.Text
[EXTJSIV-427] Date and Time would always return null from getValue if the raw value could not be parsed as a date; this was resulting in such values being treated as valid during validation and not being seen as dirty. Changed so that getValue will return the raw value if it cannot be parsed. Also added logic to attempt parsing of the 'value' config during init so that originalValue is a valid Date object for dirty comparison
[EXTJSIV-448] Implement readOnly and setReadOnly for Checkbox and Radio fields
[EXTJSIV-416] Give fields within fieldset an anchor so they get a width in IE6
[EXTJSIV-530] Added port number support to localhost detection
Add required classes to Chart LiveUpdate example
Increase LiveSearchGridPanel reactiveness
[EXTJSIV-529] Element.getColor() will properly accept an empty string as a prefix, which is needed for color animations
[EXTJSIV-529] Enable afterRepair fx on dd.DragZone and TreeViewDragZone
[EXTJSIV-38] TreeViewDropZone will now highlight successfully dropped nodes
[EXTJSIV-38] Use the selectedItemCls setting on TableView prototype to handle the quick remove/add of that cls when highlighting a repair
[EXTJSIV-38] TreeViewDragZone will highlight all records that were dragged, for the case of multiselect tree sel model
[EXTJSIV-185] Removed .png slicer images + changing to gif (we tooltip support on Radar series
[EXTJSIV-559][EXTJSIV-373]Provide accurate repair position for Header Drag Zones
[EXTJSIV-358] HeaderContainer will disable checkbox in column menu when there is only a single header
[EXTJSIV-582] Add Ext.Error custom error reporting class
[EXTJSIV-574] Add an alias for all series and handle custom series creation and adding them in an imperative way
[EXTJSIV-514] Reimplement rendering of Checkbox and Radio to use a custom image rather than native controls, for greater styling control and consistency across browsers
[EXTJSIV-241] Lots of cleanup on Component destroy method
[EXTJSIV-599] Make node loaded a field in NodeInterface. When appending a child to a node, mark it as loaded
Add the ability to pass a url to the load method on a Store with a ServerProxy defined on it
[EXTJSIV-394] Added itemTpl support for DataView
Add method to allow destroying the field layout's singleton QuickTip instance
[EXTJSIV-604] Allow height to be set on text fields
The footer toolbar's (fbar/buttons cfg) spacer shouldn't be focusable anymore
Button now has a visual state when focused, which currently mirrors the mouseover state. Also removed a focus/blur method in Button that was unnecessary
[EXTJSIV-450] FormPanel will provide default tab stops for its fields and buttons, so that all fields are tabbed through first, and then buttons second
[EXTJSIV-450] AbstractPanel and AbstractDock will return/render docked items in their visual representative order, respectively. Docked items have a default weighting, so that they are returned/rendered in (t,l,r,b) order. In the case of a Dock layout, the top/left items are rendered before any existing DOM nodes in the render target (body el, in the case of a Panel), and right/bottom items are rendered after the existing DOM nodes. This keeps our DOM nodes in order of their visual representation to support tab stops, ARIA readers, etc. Also, getDockedItems/getRefItems of AbstractPanel will return the same type of ordering by default to support logical ordering of ComponentQuery's and FocusManager navigation
Move FocusManager's tabIndex whitelist to the prototype so it's not defined over and over again for each call to setFocus
[EXTJSIV-418] Added keydown event handling to DataView
[EXTJSIV-600] Allow form fields to display all errors returned from getErrors at once, rather than only displaying the first
[EXTJSIV-304] Grid reconfigure method implemented
[EXTJSIV-498] Changed DataView to store the internal record IDs on the view DOM nodes for lookup by record and vice versa. This matters since blockRefresh's can happen and the store becomes out of sync with the DOM nodes, such as was the case with the Animated DataView plugin
[EXTJSIV-483] Implement expanded cls for rows inside collectData instead of getRowClass. This allows the user to override getRowClass without them having to worry about expanded state
[EXTJSIV-628] Added remove and destroy methods in Sprite.
[EXTJSIV-55] Add boxLabelAlign config to allow the user to place the boxLabel before or after the checkbox/radio
[EXTJSIV-517] Optimized buffering of requests in PagingScroller
[EXTJSIV-596] border:false on a Window removes borders from the body. The Window itself remains framed
[EXTJSIV-523] Use the verticalScrollers calculated height when available rather than the raw dom
[EXTJSIV-315] Updated access theme to have better styling across all components
[EXTJSIV-613] Move extraParams onto the object instead of being per request
RowEditor now transitions the error summary tip properly on back-to-back invalid records
Remove the inline unselectable cls, and instead call unselectable() on the table view's el after it's been rendered. This fixes a selection problem in Chrome when double clicking in a grid
[EXTJSIV-527] Add a workaround for the WebKit MarginRight bug with Anchor Layouts to make them much faster
[EXTJSIV-527] Componentlayout.afterLayout will now only be called when a ComponentLayout occurs
[EXTJSIV-527] Ensure Card.setActiveItem calls onLayout properly
Moved all locking behavior out of the LockingGridPanel subclass
[EXTJSIV-660] Add startDay to Date Field
[EXTJSIV-653] Added DirectStore shortcut
[EXTJSIV-276] The "headers" config in GridPanel has been renamed to the 3.x compatible "columns". All supporting classes are now named XxxxxColumn and are in the Ext.grid.column package. Column xtypes are the same as they were in 3.x
[EXTJSIV-562] Added hideEmptyLabel config which automatically collapses the label space when fieldLabel is empty. Made this the default behavior everywhere; this is a slight change from the old form layout which defaulted to maintaining the space unless hideLabel=false
[EXTJSIV-59] Rename some methods in Menu to be consistent with framework standards
Modified field layout to avoid setting styles when not needed. The fieldLabel element's styles are now applied during render in the template and not in the layout. Fields whose size are not managed by a container no longer set their internal element sizes during layout this can result in wrapping since fields are floated
Add inverse iteration support to Ext.Array.each
Rename hlColor to repairHighlightColor for Tree DragSource
[EXTJSIV-38] TreeViewDDPlugin now has "nodeHighlightColor" which is used on repairs and drops, if applicable. Passing it as the "repairHighlightColor" to the drag zone in this commit. Will be passed to drop zone as "dropHighlightColor"
[EXTJSIV-38] Renamed hlDrop to nodeHighlightOnDrop and nodeHighlightOnRepair on the TreeViewDDPlugin class. They are routed to the TreeViewDragZone and TreeViewDropZone as repairHighlight and dropHighlight respectively
[EXTJSIV-552] Rename MessageBoxWindow to MessageBox
Move all locales package from core to extjs
[EXTJSIV-548] Add allowDrag config option on NodeInterface. Set it to false by default for root nodes
[EXTJSIV-549] Change the names for the relayed events from TreeStore to TreePanel so that they don't collide with Panel's events
[EXTJSIV-602] Put GridViewDDPlugin and TreeViewDDPlugin into proper namespaces (Ext.grid.plugin)
[EXTJSIV-269] Renamed enableCacheBuster to disableCaching, added disableCachingParam config
[EXTJSIV-581] Fixed up the API for TreeStore, TreeView and TreePanel. Also fixed some bugs related to changing the root node dynamically, loading data after TreePanel has already been created and expanding a node while its loading
[EXTJSIV-598] We no longer use the global QuickTips singleton for form error tips. We now create a QuickTip singleton just for the field layout, with the proper baseCls for framing, and register it to respond to an 'errorqtip' property
[EXTJSIV-534] Refactor Lockable into mixin
AbstractSummaryFeature, ChunkingFeature, GroupingFeature, RowSummaryFeature, RowBodyFeature, RowWrapFeature, and SummaryFeature moved to the Ext.grid.feature namespace
Rename locked from Header/Column to ddLock so that it doesnt conflict with the new locking functionality
Removed compat reversing of El.down/El.child - There are too many places in Ext itself that use these calls, and reversing them in the compat layer to match 3.x behavior breaks some Ext 4 code. This will have to remain a documented breaking change in the migration guide
Set up compat code for TreePanel, AsyncTreeNode, TreeLoader and TreeSorter
Moved deprecated TreePanel members to the compat file
Guide section added to documentation. Class System and Drawing/Charting Guides added
File field updated
Model.fields updated
Component updated
FocusManager updated
Viewport updated
FormPanel updated
ActionHeader updated
GridViewDDPlugin updated
ColumnLayout updated
DateMenu updated
Panel updated
TabPanel updated
TreeViewDDPlugin updated
Animate updated
ClassLoader updated
Animator updated
BsicForm updated
Label field updated
Labelable updated
Text field updated
ElementLoader updated
Sortable updated
AbstractComponent updated
Locales updated
Ext.Number updated
Tab updated
TabPanel updated
StateProvider updated
Editing updated
Panel updated
CheckboxModel (selection) updated
TreePanel updated
Ext updated
Class updated
ClassManager updated
Array updated
Anim updated
FieldSet updated
Grid Column updated
Application updated
Controller updated
ControllerManager updated
ModelMgr updated
Router updated
BufferStore updated
JSON Writer updated
Charts updated
DrawComponent updated
Toolbar updated
DataView updated
Floating updated
Resizer updated
Store updated
ComponentDragger updated
MVC Example applications and guide
Collapsed vertical headers need to be restyled in IE
Toolips in IE8 have too much padding on the header which can cause it to clip text
Tab Scroller is not working properly in FF < 4
Deprecated (methods slated for deprecation) and Since (what version methods were introduced) implemented within the documentation
Column Layout has some performance issues which will be addressed in the next release
API naming consistency implementation
Field Layout performance has improved, but is not where it should be for IE
IE9 Strict mode subpixel rounding can cause wrapping issues (similar to https://bugzilla.mozilla.org/show_bug.cgi?id=45861 7)