Register here!

Forgot password?

ASK NEW QUESTION

Home Page » Zii » Grid View » CGridview disappears when click on column header to sort by that column.
0 Votes
Vote Con!
Solved!

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

 

Answers (1)

  1. 0 votes
    Accepted

    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

© YiiAnswers.com 2011. All rights reserved.

Switch to our mobile site