Frozen Column

QuestionsFrozen Column
Mukti asked 11 years ago

Hi Abu,

I have issue with frozen column.
What is different from the example is that, i used column format in it .

A part of code snippet , upto which frozen option is used is:

$col = array();
$col["title"] = "trnid";
$col["name"] = "trnid";
$col["frozen"] = true;
$col["width"] = "10";
$col["sortable"] = true;
$col["search"] = true;
$col["editable"] = false;
$col["hidden"] = true;
$cols[] = $col;

$col = array();
$col["title"] = "istaskshifted";
$col["name"] = "istaskshifted";
$col["editable"] = false;
$col["hidden"] = true;
$col["frozen"] = true;
$col["editrules"] = array("required"=>true, "readonly"=>true, "readonly-when"=>array("==","1"));
$cols[] = $col;

$col = array();
$col["title"] = "year";
$col["name"] = "myear";
$col["width"] = "10";
$col["sortable"] = true;
$col["search"] = true;
$col["frozen"] = true;
$col["editable"] = false;
$col["hidden"] = true;
$cols[] = $col;

$col = array();
$col["title"] = "Week";
$col["name"] = "weekno";
$col["width"] = "70";
$col["sortable"] = false;
$col["search"] = true;
$col["editable"] = false;
$col["frozen"] = true;
$col["hidden"] = true;
$cols[] = $col;

$col = array();
$col["title"] = "dept";
$col["name"] = "deptcode";
$col["width"] = "70";
$col["sortable"] = false;
$col["search"] = true;
$col["frozen"] = true;
$col["editable"] = false;
$col["hidden"] = true;
$cols[] = $col;

$col = array();
$col["title"] = "Task";
$col["name"] = "taskdescription";
$col["width"] = "350";
$col["frozen"] = true;
$col["edittype"]="textarea";
$col["sortable"] = true;
$col["search"] = false;
$col["editable"] = true;
$col["show"] = array("edit"=>true);
$col["editrules"] = array("required"=>true);
$cols[] = $col;

1 Answers
Abu Ghufran answered 11 years ago

Please share complete code, this snippet looks fine.
You can share code link using pastebin.com

Your Answer

20 + 0 =

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?