PDA

View Full Version : Good source of examples?



atlterry
7 Nov 2009, 4:27 AM
Can someone recommend a good source of examples to achieve this functionality?

Layout frame(s) with the following within a hierarchical namespace:
** Layout with Top, Left, and Center Panels
** TopPanel will have Company Name/Image and a Toolbar with icon/buttons
** Left Panel
-- Collapsible
-- Fixed Top half will be tree menu
-- Bottom half will have accordions for various php pages/content
Tree node clicks:
- Change the center panel content
- create tabs on the fly in the center panel and render php pages within the tabs.
** Center Panel
-- Top half will have gird with data set to auto refresh
-- Bottom half will have accordions for various php pages/content

When the toolbar buttons are clicked I want to show modal window with form panels in them and the source for the form panel is various php pages. Upon successful submit the window closes otherwise show errors and persist the window.

alien3d
7 Nov 2009, 5:10 PM
Are you mean like this below.What i do still in development phase testing.

Grid Mode Accordian
http://img687.imageshack.us/img687/1240/idcms05.th.jpg (http://img687.imageshack.us/i/idcms05.jpg/)

Form Mode Accordian.Press the icon update click or new will open form mode.
http://img23.imageshack.us/img23/8049/idcms052.th.jpg (http://img23.imageshack.us/i/idcms052.jpg/)

Accordian Source.
http://pastebin.com/f6586d95b

Php Source
http://pastebin.com/f3699e11f

Animal
8 Nov 2009, 12:31 AM
Your own Ext SDK directory has dozens of examples.

Look at your layout-browser example just to see how it's done.

Of course you'd never copy/paste an "example" and use it without understanding what it's doing would you?

atlterry
8 Nov 2009, 5:31 AM
Thanks; as a newbie it can be a bit overwhelming at first - the tutorials are helpful. I'm also looking for some local training too.

Cheers!

murkrishna
2 Jun 2010, 11:28 PM
hi alien3d,

I am looking for a similar Source Example. As i tried to create it base on layout-browser from the ext example. But i am not satisfied, feeling i am missing something. And i was trying to convert it into object oriented, but i failed in it.

So if you can give the sample code which you were working in, will be more help full to us to fix our errors.

Thanks and regards
Murali krishna