Hello,
is it possible to edit hidden column?
here is example:
– column must be hidden in the grid
– column must be visible and editable in the form
thank you
When we want to hide it on grid list, and display it on Add or Edit forms.
$col["editrules"] = array("edithidden"=>true);
pasted from /docs.
Thank you, and sorry 🙂 too many hours in work
I finding it in jqdrid documentation, I try it and dont work for me.
my fault…
Pasted from docs …
#### Hiding Column
At instance, we don't want to show column in grid (like primary key), and it is equally needed for background operations like update or delete.
`hidden` property can work here.
// don't show this column in list, but in edit/add mode
$col["hidden"] = true;
Another scenario is we want to hide it on grid list, and display it on Add or Edit forms.
$col["editrules"] = array("edithidden"=>true);
Hello,
I'm creating a plugin for wordpress, the plugin only works on the back end.
When I try to use phpgrid only shows me the json object.
In my first line of my plugin I'm writing this:
include (".. / wp-content / plugins / pluginHojaAtencion / new-technician / lib / inc / jqgrid_dist.php");
But when I see the source code of this line is after the. Js and css includes default wordpress.
You know any way to fix this.
Because according to what I read in the forums you request to include include (".. / Wp-content / plugins / pluginHojaAtencion / new-technician / lib / inc / jqgrid_dist.php") before an echo.
Waiting for your feedback.
Well, it isn't working for me either
Anything else that needs to be done except that line ?
It does actually hide the column on the grid, but it's not showing up when doing Edit.
Yes, it works with add dialog too. It would show this field in add/edit dialogs and hide in list.
Another option is to use 'show' property
$col["show"] = array("list"=>true, "add"=>true, "edit"=>true, "view"=>true);
$cols[] = $col;
Above property is available in latest build of full version now.
DOes this also work with the ADD RECORD button? I mean does it show all fields but hide them in grid?
hi.
this works:
need to display field in all modes: list, add, edit, view
$col["show"] = array("list"=>true, "add"=>true, "edit"=>true, "view"=>true);
but,
how to force read-only in mode: list, add, edit, view?
thanks.