PDA

View Full Version : Help to implement such Gui



suseway
20 Jan 2011, 3:37 AM
I'm trying to modify my Ext code, but haven't yet understood how can i do it.

I have main form and Row Editor Grid Example grid (from official demo (http://dev.sencha.com/deploy/dev/examples/grid/row-editor.html) link).
It is screenshot (http://img225.imageshack.us/img225/7799/screenshot16v.png) of my app.

On the right is main window.
On the left is grid which i want to place to the main form (see red arrow on the screenshot).

See also code in attach.

How can i do this?

----

20 Jan 2011, 4:56 AM
Start by creating a window, that implements a vbox layout, with align "stretch". Then setup two children. The first child is a container with a border of 1px. It should implement either a column or hbox layout. That container should have the buttons as children.

The second child of the window is the grid. set the grid's flex to 1.