PDA

View Full Version : Create multiple grids in single page



dinesh.mahadasyam
28 Feb 2017, 10:05 PM
Parent Information(PARENT TABLE)


Name:
ABC
phone:
1234


ID no:
1888383
Address:
abcd





Family Information(CHILD TABLE)


Person Name
RelationShip


xxx-1
wife


xxx-2
Son






Add Row

Delete Row



i am new to Extjs. i have parent table and child table. parent Record can have multiple child records as shown above. all the data should be displayed in same page. when user clicks in "Add Row" button one more should be inserted. if anyone have developed this kind of requirement. please help on it.

Gary Schlosberg
1 Mar 2017, 7:07 AM
It's not available in 2.x, but you might have a look at associations:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.data.association.Association