I am brand new to CodeIgniter having inherited a site that uses it. So far, I love it.
I do have one question which I am not sure how to handle.
I have a view that is a part of a page. It basically displays data in a tabular format with links in one of the columns for the user to click on and drill down with. I have a request from the client to add a filtering capability and I am not sure how to structure this.
The problem is that the filter fields would go in the same view as the data. So, basically I would have to create a form atop the table that lists the data, allow the user to enter their filter criteria and then, when the user clicks submit on the filter, reload the data with only the filtered rows showing.
Since this view is only part of the page, I am really unsure of how to get this to work. Like I said, I am new to CodeIgniter and I do not fully grasp the controller/helper/view model. For example, I do not see where the helper function (which has the SQL calls for the data) is being called. I see a call to the view (called from the main class) so that’s not a problem but not how the actual controller is being called.
So, that’s my dilemma here. Any assistance would be appreciated.