$col = array();
$col["title"] = "Staff Code";
$col["name"] = "EmpCode";
$col["width"] = "70";
$col["sortable"] = false;
$col["search"] = true;
$col["editable"] = true;
$col["show"] = array("list"=>true,"add"=>true,"edit"=>true);
$col["editrules"] = array("required"=>true);
$col["editrules"]["readonly"] = true;
$col["editoptions"] = array("style"=>" width: 200px");
$cols[] = $col;
screenshot url: https://imgur.com/a/DhNfbYM
Hello,
I understand the issue you are facing. Please share complete grid code using gist.
Attach code here and paste link in question.
Hello,
I regenerated the scenario with your code and unable to get this issue.
Please share your code.
You need to either remove from all columns ‘formoptions’.
$col["formoptions"]
Or add with all columns.
Thank you, adding $col[“formoptions”] = array(“rowpos”=>”1”, “colpos”=>”1”); on that column worked for me. Thanks