O'Reilly logo

Ext JS Data-driven Application Design by Kazuhiro Kotsutsumi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Quotation form

The Quotation form is mostly the same as Bill and MyAccount, but there is one big difference—there is a grid inside the form panel.

At first glance, the store that is configured to the grid panel looks as though it will communicate directly with the server, but this is not the case. To the very end, this form panel handles fields, so it doesn't handle the grid directly and there is no need to separate form data sending and grid data sending.

Then how do we solve this? The answer is to hand it a hidden field and make it save the grid data in the form of JSON. So, the grid store is fine to be left as a MemoryStore.

First, implement it to the same point as MyAccount. Because Quotation will hold a list, add to it so that refs can also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required