hi guys,
assume you have a table with 100+ records, about 10 fields
one of the fields is collection_id, values 1,2,3,4 or 5
I want to display each collection alone… so what I’ve done, I crated 5 grid applications and added in SQL where collection_id=1, and the other one=2 then the third one=3…etc. that is ok
Is there a way that i can combine all that in one grid?
Something like grid opens by default to have one collection e.g. (collection_id=1) or even with all collections without WHERE initially… then after that, user clicks on a button up in the grid so it will change the SQL where to collection_id=2 so user can see the records of (collection_id=2)… an so on…
Or, even better than the buttons, perhaps a drop-down menu can be added to the grid header it will be great… user can select the collection=x from that drop down and directly the gird display records based on the collection_id selected…
What you think the best idea will be? I’m almost sure there will be more than one idea… after-all creating 5 applications or more is not so needed right?
ideas?