You need to sign in to do that
Don't have an account?
iBr0ther
How to ExtJS
Dear all developers!
I am a newbie in saleforce. I am about to create a page with ExtJS but I don't know how to include the Ext Library.
Does any one experiance with this, pls pay attention to help me.
Thanks in advance.
PoorMan.
I am a newbie in saleforce. I am about to create a page with ExtJS but I don't know how to include the Ext Library.
Does any one experiance with this, pls pay attention to help me.
Thanks in advance.
PoorMan.
You can create a static resource that is a zip file of the ext library and reference parts of it using formula fields.
So the src attribute of your script tag might look like:
src="{!URLFOR($Resource.extLib, '/ext/lib/bin/function.js')}"
As long as any url references in ext (such as dynamic js loading) are relative references, they will resolve properly.
Thanks to much your help. I've a document about ExtJS in VF that I can use it to keep on going for my module. And another question is about S-Control, can I use ExtJS is S-Control? if possible, how to include the Ext library to my custom S-Control?
Thanks in advanced.
Also, you can upload all files in the Ext JS archive as documents to salesforce. Note that you have to change some code in css files to address proper file path, it's a little heavy task, I suppose.