现在的位置: 首页 > 综合 > 正文

速度真快,ExtJS第5个预览版发布

2013年04月20日 ⁄ 综合 ⁄ 共 5371字 ⁄ 字号 评论关闭

 

Release Notes for Ext JS 4 PR5

Release Notes: March 18, 2011
Version Number: 4.0.0pr5
Download: here

Release Notes

New In This Release

  • New Examples

  • Bug Fixes
    • Fix bug on FF for Mac where an initial layout of
      boxes causes the innerCt to scroll, and it becomes stuck at the
      scrollPosition. Manifesting in layout-browser example
    • Fix the problem in IE where the margin-bottom of the last item was not being included in the "auto" height of its Container
    • Fix issue where dragging a child to become the last child in a folder would insert it in the wrong position
    • Fix an issue where the sortType was not being honored when local sorting in a grid
    • Fix issue when calling setProxy on a model subclass
    • Fix Ext.panel.TablePanel hideHeaders configuration option
    • Fix button layout in IE7 when minWidth is set
    • Fix minButtonWidth in FormPanels
    • Fix bug where StoreMgr would not be able to create a Store from a store config object
    • Fix layout/alignment issues in fieldset legends with IE
    • Fix for IE6 repaint bug on right edge of framed panel
    • Fix display of tooltip anchor arrow
    • Fix scope for custom validator method
    • Fix icon position of grid header when align:right
    • Fix issue with dateRenderer when dealing with null values
    • Fix issue with masking in IE6-9 Quirks and IE6 strict
    • Fix problem with Panel's initial collapse state setting, and subsequent expansion by the Accordion layout
    • Fix ComboBox setValue to handle empty values
    • Fix issue with Line Series shadows which weren't refreshed when animations were not enabled on
  • Enhancements
    • Refactored the Tree code. Working features as
      of this point are Tree rendering, expanding & collapsing, drag
      and drop, loading a tree from memory, have multiple columns, keyboard
      navigation and selection model
    • Added support for named arguments in Ext.Direct methods
    • Every Record registers itself with the ModelMgr
    • Implemented Tree collapse and expand animations
    • Implement loading nodes in a sorted TreeStore
    • Added a lastframe event to the animation that only fires when the animation actually reaches its end
    • Define getters for getting the computed height and width from an animations target to use as the from values
    • Refactor Tree collapse and expand animations. This fixes quickly collapsing and expanding nodes
    • Added a new transform option for Sorter
    • Panel's getDockedItems now accepts a ComponentQuery selector string
    • Add setSrc method to ImageComponent for changing the image src after initialization
    • Added 'none' as a possible value for msgTarget, to prevent all
      error message rendering. Only fire errorchange event when the error
      message actually changes
    • Add hideGroupedHeader support to Ext.grid.GroupingFeature
    • FormPanel and FieldContainer both contained logic to handle the
      addition and removal of Labelable and Field instances within their items
      subtree; factored that common logic out into a FieldAncestor mixin for
      both to use. The new mixin also adds new events 'fieldvaliditychange'
      and 'fielderrorchange' that allow listening for changes at the parent
      container level
    • Allow checkbox fields to display errors
    • All the old config properties that controlled the dropdown list
      have been removed in favor of a single listConfig object, which gets
      passed along to the BoundList's config. This is much simpler and
      provides total control over all aspects of the list
    • Implemented valueNotFoundText
    • Enhanced BoundList layout to handle min/max for both width and height
    • Implement ComboBox pageSize option
    • elasticOut and bounceIn easing added for animations
    • Added support for rootVisible. Also moved the creation of the NodeStore from TreeStore to the TreeView
    • Added support for the 'root' configuration option on TreeStore. It
      supports the 3.3 way of specifying root and children. Automatically
      figures out whether to load children on expand from the server or
      memory. Also removed requirement to specify a proxy on a TreeStore.
      Removed requirement to specify store on TreePanel and support the 'root'
      config option on TreePanel automatically creating a TreeStore
    • Modified TreeView so that it expands the root node if it's not visible
    • Modified getSourceFiles to include support for writing XML documents
    • Moved additional class for VML from javascript into the stylesheet
    • Add in support for icon and iconCls on tree nodes
    • Support loading flat json data while still loading children from the root property
  • API Changes
    • Refactored Tree to be able to decorate records with a Node API
    • Reimplemented TreeStore and created new class called NodeStore
    • Border layout is now responsible for performing a mini-collapse of a child Panel
    • Panel now performs a collapse to leave its header (or a newly
      generated, injected header) visible. It does not perform a mini-collapse
    • Renamed FlatTreeView to TreeView
    • Correct getRefItems implementation in light of ComponentQuery selector being available in getDockedItems
    • Add boxLabelEl as render selector for checkbox fields
    • Ext.data.Model.id now assigns the new id to the record
  • Compatibility Changes
    • Added an alias for Ext.data.Field
    • Added an alert when there are compat errors and no console
    • Added compat code for GridView & JsonStore
    • Modified paging example to switch getRowClass to PreviewPlugin
    • Added internal Ext 3 > 4 class mapping utility
  • Documentation Refactors
    • Charting overview document
    • Ext3 Legacy
    • Ext.form.TextArea
    • Ext.form.Checkbox
    • Ext.form.Radio
    • Ext.form.Field
    • Ext.form.FieldContainer
    • Ext.form.FieldSet
    • Ext.form.FormPanel
    • Ext.form.Labelable
    • Ext.Base
    • Ext.Button
    • Ext.Component#draggable
    • Ext.ComponentDragger
    • Ext.Loader
    • Ext.Array
    • Ext.TabPanel
    • Ext.TabPanel
    • Ext.form.BaseField
    • Ext.form.ComboBox
    • Ext.form.Text
    • Ext.form.Basic
    • Ext.Toolbar
    • Ext.data.SortTypes
    • Ext.data.StoreMgr
    • Ext.state.Manager
    • Ext.util.Animate
    • Ext.form.Date
    • Ext.form.Label
    • Ext.form.Number
    • Ext.Viewport
    • Ext.Window
    • Ext.ComponentQuery
    • Ext.Panel
    • Ext.form.FieldAncestor
    • Ext.Container
    • Ext.Component
    • Ext.grid.GridViewDDPlugin
  • Known Issues
    • Portal example not correct in IE6
    • Toolbar menu overflow not styled in IE6
    • Charts do not render properly in Safari 3.2
    • Menu links (anchor tags) need styling
    • Minor clipping of panel header text in Opera and IE6/7

原文:http://www.sencha.com/forum/showthread.php?125072-Ext-JS-4-Releases-and-Notes-%284.0PR5%29

抱歉!评论已关闭.