Boilerplate file for extension. Copy&paste it to your app then write your functionality in.
JavaScript Plugin File Pattern
File to copy&paste to your application as a boilerplate for a plugin.
Button With Buffered Clicks
My users are used to double-clicks to such a degree that they double-click everything, also buttons. This has created the problem with buttons that add records to grid as always two records were added. Here is handling:
1 2 3 4 5 6 7 8 9 10 11 |
this.toolbar.add({ id:this.id + '-btn-add-record' ,text:this.addText ,tooltip:this.addRecordText ,iconCls:'icon-plus' ,disabled:true ,listeners:{ scope:this ,click:{fn:this.onTbarClick.createDelegate(this, ['add']), buffer:200} } }); |
Return Value of Function as items Pattern
We can use an inline function to build items. See how.
Defer Inline Anonymous Function Pattern
See how to defer execution of an inline function.
PHP File Pattern
Boilerplate for PHP files.
JavaScript Application File Pattern
ExtJS Application File Pattern
HTML File Pattern
We don’t create HTML files too often these days, nevertheless, here is the pattern.
Changing the viewpoint to Ext
I have found one of my older posts to Ext Forum when I have been with Ext for a couple of weeks, just after initial shocks of cognition that if I’m going to use this library I need to step out of my old habits and routines and I need to change my mind about […]
- « Previous Page
- 1
- …
- 5
- 6
- 7
