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 ...
Posted in Code Patterns | 4 Comments »
Friday, April 3rd, 2009
Hi,
I've just uploaded a full-fledged example of combo with remote store at http://examples.extjs.eu.
Enjoy!
Posted in Examples | 2 Comments »
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 ...
Posted in File Patters, Know-how | 2 Comments »
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 ...
Posted in Know-how | 12 Comments »
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
Posted in Know-how | 6 Comments »
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 ...
Posted in Know-how | 20 Comments »
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 ...
Posted in Know-how | 4 Comments »
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 ...
Posted in Know-how | 23 Comments »
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 ...
Posted in Know-how | No Comments »
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
Posted in Cluster, Linux | 3 Comments »