Showing posts with label ExtJS. Show all posts
Showing posts with label ExtJS. Show all posts

Sunday, October 12, 2008

ExtJS learning notes

Useful tips.
1. 'mousewheel' event indeed can be removed. Something is messed up in my code. Need to figure out a way to avoid functions registered twice.
2. Ext.apply, Ext.applyIf, can quickly apply options to a given object;
3. function.call(this), execute the function under a specific scope.
4. Ext.reg(), register custom xtypes
5. EventManger.onWindowResize(), add custom window resize functions, which are performed right AFTER the viewport sync functions.
6. Function.createSequence can create a function that call same params with the original



Btw, !important in CSS means immutable..and non-overidable D: