Home >Web Front-end >JS Tutorial >Two simple ways to load data in Extjs formpanel_javascript skills
1. The formpanel data source is the same as the grid. Use Form.getForm().loadRecord(row); then the data can be automatically loaded into the corresponding control in the formpanel.
2. The formpanel data source is separate, so after the store is passed to the formpanel page, you need to manually assign value to each control in the formpanel, in the form: