I have researched lot of exampls for last 4 days but just couldnt come up with right approach.I am preparing extjs 4 app using sencha architect. There is a grid with lot of entries coming from store which is populated from php mysql backend. I am tryng to add new record using a button "Add Announcement" and the data should be entered using a form. grid store has three fields (Extra ID which needs to be passed on to new record in database) but the form has 2 fields.
Request your help in knowing the right approach. Possible options with me:
In any case how should i pass class ID to the new record
If the record has only a few fields then #3 approach would do. I have written an example of grid with all CRUD operation, however, not in Architect. Anyway, the same or similar buttons handlers can be used for coding it in Architect.
You can find the example here: http://extjs.eu/ext-examples/#writable-grid