Showing posts with label yui-ext. Show all posts
Showing posts with label yui-ext. Show all posts

Friday, March 23, 2007

Component

If you like being on the cutting edge you should get the source of my control

at codeplex the source is using Ext 1.0 alpha3 rev 4 and has the first version of the TreePane control.Everything is working nice..the only thing missing to an official release is Grid Drag and drop row sorting.

The differences between yui-ext 0.33 and Ext 1.0 are wrapped inside the control , so no changes are needed in the samples ( unless you want to get some new features). Thats one of the advantages of using the control...







powered by performancing firefox

Tuesday, February 13, 2007

Ext 1.0 to be released on monday

I just read on yui-ext forum that Ext 1.0 its scheduled to be released on monday (19). As many of you probably know I am Brazilian and in Brazil next week is "Carnaval" and that means I will start working on that week on the 22.So expect me to release the new yui-ext controls extender only in march.

I do hate "Samba", but I love the long holiday....





powered by performancing firefox

Thursday, February 08, 2007

New sample based on post on yui-ext forum

There is a new sample at my website that show a very early graph library for yui-ext.

For now the sample doesn't work in Firefox ..but still worth it.

I will update my barchart class to use this as a base ..

Here it is ..enjoy



powered by performancing firefox

Wednesday, February 07, 2007

New sample

Today a posted a new sample at my site.It shows how to to an "EditInPlace" with yui-ext. The code is based on a post at the yui-ext forum.
click here to see the sample.
Suggestions and comments are welcome.

powered by performancing firefox

Thursday, February 01, 2007

How do I persist a TreePanel?

Ext its not out yet but here is the code:



YAHOO.ext.tree.TreePanel.prototype.toJsonString=function(){
var nodes=this.getRootNode().childNodes;
this.arrNodes=[{id:this.getRootNode().id,parent:0}];
for(var i=0;i< nodes.length;i++){
this.arrNodes.push({id:nodes[i].id,parent:this.getRootNode().id});
this.processChildren(nodes[i]);
}
return YAHOO.ext.util.JSON.encode(this.arrNodes);
}
/*
Recursive function
sweeps the tree in all levels
*/
YAHOO.ext.tree.TreePanel.prototype.processChildren=function(node){
child=node.childNodes;
for(var i=0;i<child.length;i++){
this.arrNodes.push({id:child[i].id,parent:node.id});
this.processChildren(child[i]);
}
}




It returns a jsonString with an array of objects with the tree nodes and its parents reflecting the changed tree. When Ext comes out I will build a complete sample persisting that output to a database.





powered by performancing firefox