The grid is constituted from columns
config of grid panel together with grid store structure. That means ExtJS defines the grid panel exactly a Grid with each row is a record of grid store (columns are just what field names showed on the grid). So "keep pushing data in column irrespective of the row index?" is unable to. Let's imagine this:
- How can the grid store define the "record" in your case?
- How can the grid provide methods to delete/change the "composite records"?
Don't forget that ExtJS grid is not just to display data but also to communicate with server to perform CRUD via its proxy.
You still can achieve your aim if the grid is just for displaying data. In this case, you create a dummy store with fields: ['Family', 'Want', 'DontWant']
and use columns
config to show the data. Then directly interact with records in grid store to modify 'Want'/'DontWant' value when you check/uncheck data (add new if the record not exists)
want
/dont want
column when you choose by ticking on the checkbox item on another list? If it is your idea, you can have a grid with 3 columns and call hide()/show() the corresponding column after adding the chosen item to gridrow. – U and me