Chapter 4. List and Search
In previous chapters we looked at preparing the data structure and the basic Ext JS architecture, and in Chapter 3, Data Input, we looked at inputting data. However, we couldn't implement the writing of the data from the Quotation
form. This was because we couldn't judge whether it was a new addition or an editing process due to listing being non-existent.
When you actually construct an application, it is probably most common to build the list first and then create the form. However, this time we learned to read the form first and then save it. So, just choose whichever way you find easier to build with.
This chapter is mainly about displaying data that was read in the previous chapter. However, users will no doubt want to search for data, so we will also learn about data searches.
In this chapter you will learn how to:
Get data from the database
Apply the acquired data to the store
Connect the store and the grid
Read data to fields
Search the list