I have 2 active records models: symptoms and symptomHistory.
I have a view with a form for a symptomHistory model and inside it I want to render a table with all symptoms active records in the database, and a sorting mechanism with a dropdown menu.
What is the best way to go about doing this?
I tried CGridview, but because it’s being rendered by a different controller (the symptomHistory controller instead of the symptoms controller), I think the ajaxUrl in $.fn.yiiGridView.update doesn’t work and no ajax request is being sent.
Thank you for your time and help