Hello and thank you in advance....
Does there exist anywhere here a complete and fully-functioning code example of the following scenario:
User searches a collection via an input object, the search is performed, a table is displayed with SORTED results, the user can click on a row or cell of the search results table and redirect to a dynamic item page that displays more information from that record in the collection. This is a very common scenario for database interfacing and I am guessing that you have a TON of users who could benefit from a complete example.
What I am requesting is a FULL CODE EXAMPLE, from start to finish, that includes ....
all necessary import statements at the top
the User Input object to trigger the search
the subsequent collection search with a SORT of the data
the displaying of a table with the results
code to detect onClick event on a table ROW or CELL
code to determine the value of one of the cells in the clicked row or cell, to be used in...
code to redirect user to the dynamic ITEM page that corresponds to the item clicked in the search results table
All I can find are little bits and pieces of code here and there in the WixCode section and in forum posts. There is nothing that shows a big picture.
The support and examples here are fantastic, but there is one imperative resource that is missing: What users need are big-picture, complete examples of CODE that show a CODED PROCESS from beginning to end, in one place.
I looked at your EXAMPLE site for creating a TABLE INDEX - which happens to also have clickable rows - and it is just a dynamic page displaying all the records, unsorted, in the collection. It has basically no functional examples using code.
Does such a code example exist anywhere here.... or can we get one? I am thinking a LOT of your users could benefit from the example I am requesting.
Please say YES! : -)
Thank you again, most kindly, Cynthia- P.S. I am struggling to do this and I am so close, but there are a few critical pieces I cannot find to complete the task. I keep thinking I found the answer, but there is always something missing. As I said, I just get little bits and pieces here and there