1. 程式人生 > >速度真快,ExtJS第5個預覽版釋出

速度真快,ExtJS第5個預覽版釋出

  • 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