-
16 Mar 2009 8:57 PM #1
dynamically adding portlets
dynamically adding portlets
hi
,
I am a beginner and this is my first post...
i am creating igoogle like UI which will have a portal layout with user specified number of portlets(widgets)...so i want widgets to be added dynamically
Please can anyone help me?
thank youLast edited by ojas; 20 Apr 2009 at 3:56 AM. Reason: solved
-
16 Mar 2009 9:44 PM #2
Code:var column = Ext.getCmp('YOURCOLUMNID'); column.add({ tools: tools, title: 'check', html: 'asfo' }); column.doLayout();Shibu Bhattarai
Use JavaScript beautifier to beautify you code http://jsbeautifier.org/
Code Conventions http://javascript.crockford.com/code.html
ExtJS Core Manual http://extjs.com/products/extcore/manual/
-
16 Mar 2009 11:16 PM #3
hey thanks for your immediate reply...

it solves my problem...
-
1 May 2009 7:36 AM #4
In Which JS Files I need to do this change
In Which JS Files I need to do this change
In Which JS Files I need to do this change
-
1 May 2009 7:40 AM #5
What do you mean? In your own JS file... Maybe you should start here.In Which JS Files I need to do this change
-
1 May 2009 8:41 AM #6
what do you mean by this??In Which JS Files I need to do this change
it will be the function which is carrying out the task of adding the portlets
i am not sure if i have answered you... be more specific...
-
1 May 2009 9:00 AM #7
I am sorry for the confusion ..
This is first time i am visiting ExtJS ...
I am having requirement like , Dynamically Adding the Panels to the Portal ..
I am using Portlet Example ...
I am not sure where i need to modify the Code ... And in which place i need to chage the Code ...
OfCourse It will take some time for me .. To dig in to the ExtJS ...
Thanks
Bill
-
1 May 2009 9:07 AM #8
it will be some event may be button click or something like that and you will be writing this code in its handler..


Reply With Quote
