Keeping modified records of EditorGridPanel while paging

Monday, September 28th, 2009

If you modify records of an editable grid with paging and if you then page-out, your changes are lost. Well, they are not lost in fact unless you have set pruneModifiedRecords:true on the strore. The modifications are still available so we just need to apply them. Here is the code ...

New Example – Combo with Remote Store

Friday, April 3rd, 2009

Hi, I've just uploaded a full-fledged example of combo with remote store at http://examples.extjs.eu. Enjoy!

Factory Function File Pattern

Tuesday, March 17th, 2009

You know, I'm not very big fan of factory functions, nevertheless, I'm aware of the fact that they may be necessary in some situations. Here is the file pattern that works (briefly tested). Keep each factory function in a separate file name of which should be Namespace.Factory.functionName.js // vim: ts=4:sw=4:nu:fdc=4:nospell /*global Ext, MyNamespace ...

Writing a Big Application in Ext (Part 3)

Saturday, March 14th, 2009

Important If you have not already done so, study Writing a Big Application in Ext (Part 1) and Writing a Big Application in Ext (Part 2)before you read this article. It would be very hard, if not impossible, to understand concepts explained here before you fully understand the first and second ...

How to remove all children of a tree node

Wednesday, March 4th, 2009

Suppose we want to remove all children of the node node: while(node.firstChild) { node.removeChild(node.firstChild); } That's all there is to it

Writing a Big Application in Ext (Part 2)

Monday, February 2nd, 2009

Important If you have not already done so, study Writing a Big Application in Ext (Part 1) before you read this article. It would be very hard, if not impossible, to understand concepts explained here before you fully understand the first part. Introduction It has been almost one year since I have published ...

Which events are fired?

Sunday, May 18th, 2008

We need to know all events that are fired by a component and in which order sometimes. It is easy to find out. Let's say that the component in question has id my-comp. Load the page with the component, open Firebug, Console tab, and type: Ext.util.Observable.capture(Ext.getCmp('my-comp'), console.info) Now do some actions with the ...

Events Explained

Sunday, May 18th, 2008

Historical Background Most likely many of you who will read this article do not remember times of Fortran language and computers that were fed with tons of punch cards to have some some job done. The main purpose of computers at that time was to compute something really; that is not true ...

Extension or Plugin?

Monday, April 28th, 2008

Preface I believe that many of Ext users have already thought about adding some custom functionality that is not present in core Ext Library to a class. Something that is specific to their applications or not that specific so that others could also be interested in such feature. OK, we have the ...

How to get permissons of a file/directory

Tuesday, April 22nd, 2008

If you want to see permissions of a file or a directory in both human readable and octal notation issue this command: stat -c "%n %a %A" /tmp # replace /tmp with your file/dir The output is as follows: /tmp 1777 drwxrwxrwt