CGridview disappears when click on column header to sort by that column.
AJAXCGridViewrenderPartialsorting
Hi experts!
I’m new to web development and I have a Problem sorting
Gridview on a composite form.
Scenario:
Two forms:
form1, form2
and a model M1.
form1 is a custom search form containing textFields and dropDownLists.
and is integrated in form2 trough a call of renderPartial.
On the buttom of form2 is a CGridView. Let’s name it GV.
Controller renders form2 correctly, but when I click on any column
header to sort GV by that column, the whole GV disappears completey.
This I think is a newbie problem and I think some experts can give
me input here quickly, that is why I did not attach any code here.
But If necessary I’ll do that.
Thx a lot.
By Mutyi in Grid View · Asked 550 days 19 hours 29 mins ago
Questions: 5 Accepted: 0 ( 0% ) | Reputation: 0
Possibly related Questions
-
I need help with dependent dropdown
July 1, 2012 By eldorado2768 4 Answers
TAGS
actioncreate ( x 2 )ACTIVERECORD ( x 4 )AJAX ( x 10 )ajaxSubmitButton ( x 4 )AR ( x 2 )cactivedataprovider ( x 2 )CActiveForm ( x 2 )cactiverecord ( x 2 )CGridView ( x 14 )CJuiAutoComplete ( x 3 )CJuiDialog ( x 8 )CListView ( x 8 )controller ( x 7 )Css ( x 2 )CStarRating ( x 2 )CTreeView ( x 2 )database ( x 5 )dialog ( x 2 )dropdownlist ( x 3 )EGMaps ( x 3 )extension ( x 3 )file ( x 2 )form ( x 6 )Giix ( x 2 )gridview ( x 2 )html ( x 2 )javascript ( x 3 )many_many ( x 4 )merge ( x 2 )model ( x 4 )Modules ( x 3 )multilanguage ( x 2 )php ( x 2 )redirect ( x 4 )Registration ( x 3 )relations ( x 5 )renderPartial ( x 8 )session ( x 2 )sorting ( x 3 )sql ( x 4 )url ( x 3 )urlManager ( x 3 )validation ( x 3 )yii ( x 11 )YiiAnswers Site ( x 4 )This website counts Questions and 429 Answers by 7534 registered users.

Solved:
problem was not with the Gridview itself, but with the model
By Mutyi · 549 days 17 hours 45 mins ago
Questions: 5 Accepted: 0 ( 0% ) | Reputation: 0