Ext 1.0 Alpha 3 - Ext JS

本次更新包括了 Ext JS 1.0-alpha3 的发布,新增了许多功能并修复了一些已知的问题。其中包括 ElementFx 的增强、Safari 中拖拽问题的修复、表格组件的改进等。此外还引入了一个简易的数据存储类 SimpleStore,用于快速创建数据模型。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The links have changed: (I put a rewrite in place)

http://www.yui-ext.com/deploy/ext-1.0-alpha3.zip

http://www.yui-ext.com/deploy/ext-1.0-alpha3/docs/

There are couple basic ComboBox/AutoComplete examples (click on docs link above) and a live forum search example.

http://www.yui-ext.com/deploy/ext-1....um-search.html

The ComboBox has A LOT of configuration options, all defined at the top of the class. I will get these documented soon.

Here's a list of some other new stuff/bug fixes/changes in this build:

Element Fx:
- Now supports useDisplay config option for fx that hide the element after an effect. When set to true the element will be hidden using display:none instead of visibility:hidden.

- New "afterStyle" config option that can be a string, object (e.g. {background:'#fff'}) or a function that returns a string or object of css properties to apply to the element after the Fx completes.

- Safari broken drag drop fixed
- Too much recursion with multiple dialogs fixed
- reload() on tree with hidden root node fixed
- tree key nav on expanded (but no children) nodes fixed

-x-grid-row-dirty css class changed to x-grid-dirty-row for consistency with x-grid-dirty-cell

- EditorGrid events got completely rewritten and are much more powerful (including new "validateedit" event).

- Grid auto expand column option

- Ext.data.SimpleStore for easy array store creation (see combo example)

- Form elements now support msgTarget config option. The msgTarget tells how validation errors should be displayed. Supported values are "qtip" (the default), title (html title attribute), "under" put the message under the field (only supported by fields in an ext form layout) or any element id to display the error in.

- Form field config option "target" introduced in the last build was causing issues on complex fields (construction order issue) and the logic was refactored to a new function field.applyTo(element) (see the combo and forms examples).

- New extremely raw form CSS (see the UNFINISHED example in the "forms" directory)

- Element has new child/sibling insertion/creation functions (insertFirst and insertSibling). They are pretty flexible

- Experimental prototype/scriptaculous support was added. It works pretty decent in preliminary testing.

Special thanks to Simeon who sent me a great test file for two bugs that were very hard to track.
Reply With Quote
  #2  
Old 03-08-2007, 06:11 AM
Default

I just deployed a new zip. I forgot to include Ext debug/inspector in ext-all-debug.js.
Reply With Quote
  #3  
Old 03-08-2007, 06:16 AM
Default

I think there's a prob with Element.boxWrap()...
Reply With Quote
  #4  
Old 03-08-2007, 06:18 AM
Default

There's not much that can go wrong with that code.
Reply With Quote
  #5  
Old 03-08-2007, 06:31 AM
Default

I found the problem. It's a big bug in DomQuery. Rev 2 will be up momentarily.
Reply With Quote
  #6  
Old 03-08-2007, 06:46 AM
Default

That was quick - Rev 2 is up.
Reply With Quote
  #7  
Old 03-08-2007, 07:06 AM
Default

http://www.yui-ext.com/deploy/ext-1....um-search.html
Reply With Quote
  #8  
Old 03-08-2007, 07:06 AM
Default

How cool is that autocomplete/combo? 8) 8) 8) 8) 8)

40 lines of code for a live search with a scrolling view and paging????

The foundation of Ext.data.Store is paying off already!
Reply With Quote
  #9  
Old 03-08-2007, 07:16 AM
Default

I agree Animal. I love the new Store. It can be a bit verbose to create sometimes, but with more helper classes like SimpleStore, creating one could be as easy as the old data models (with more power though!).
Reply With Quote
  #10  
Old 03-08-2007, 08:05 AM
Default

yup yup that search box is jaw-dropping!
__________________
Ext readings for beginners | Ext manual's resources section | Ext documentation center | Ext Tutorials | Ext screencasts | Ext FAQs | Ext Forum Index | Various Debugging Tools for IE & Firefox

My Ext's Wiki user page
Reply With Quote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值