edit the grouped column in groupingView

Questionsedit the grouped column in groupingView
Man Lam asked 5 years ago

I would like to edit the grouped column in grouping view, also, i would like to hide the column in grid. after i hide the column in groupview , i can' edit the column, how to fix?
Thx.

5 Answers
Abu Ghufran answered 5 years ago

To hide column from list, dont set hidden: true. Instead:

$grid["groupingView"]["groupColumnShow"] = array(false);

This will hide grouped column from list and it will be displayed in edit dialog.

Man Lam answered 5 years ago

always set $grid["groupingView"]["groupColumnShow"] = array(false); and don't set hidden in column, but i still can't edit the field in edit dialog.

Abu Ghufran answered 5 years ago

I verified this issue, and this function is part of core JS jqgrid lib.
So, Currently it is not doable.

Gaëtan answered 4 years ago

Hi,
I had the same issue.
The following solve the issue:

$grid["groupingView"]["groupColumnShow"] = array(false);

and further down in the script, when you set your column:

$col["hidden"] = true; // HIDE this column
$col["editrules"] = array("edithidden"=>true);

Regards

Your Answer

3 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?