Problem: The filtering(search through header) of CGridView is not working when put inside a Form.
I have a view that contains a CGridView and a htmlForm around it. The sequence is
Some fields (textbox, dropdown, etc.)
CGridView ( the one where filtering is required )
When i put some text in the filter text box and press ‘Enter’ the html form is submitted, instead of applying the filter and showing the relevant rows.However, when i remove the form from the view the search starts working.
Please let me know if i am missing something or there is another way of achieving this. Basically i need a form that contains a CGridView with working search functionality.
P.S: The sort functionality of CGridView is working fine.