Feb 20, 2023, 5:04 AM
Multiple editable grid with a single store
Hello,
I have multiple grid with the same columns layout, the only different is that I have a column which is for filtering. Ex:
COLUMNS
Product Type
Product Name
Description
Unit price
Data returned from the server: we have virtual product and physical one, i want 2 grids in the same page which says: physical product and virtual product where user can input data into those 2 grids and then send the modified rows to serve for updating.
instead of having 2 separated store loading data in 2 thread, i want to load data only in 1 thread and then do some filter magic in the client side for separate the data into 2 grids, and then reflect the data change in 1 master store only for sending back to the server for updating.
Please show me how to do this.
Thanks a lot in advance.
I have multiple grid with the same columns layout, the only different is that I have a column which is for filtering. Ex:
COLUMNS
Product Type
Product Name
Description
Unit price
Data returned from the server: we have virtual product and physical one, i want 2 grids in the same page which says: physical product and virtual product where user can input data into those 2 grids and then send the modified rows to serve for updating.
instead of having 2 separated store loading data in 2 thread, i want to load data only in 1 thread and then do some filter magic in the client side for separate the data into 2 grids, and then reflect the data change in 1 master store only for sending back to the server for updating.
Please show me how to do this.
Thanks a lot in advance.