Edit form comes up empty

QuestionsEdit form comes up empty
Adrian Bradshaw asked 9 years ago

I'm just feeling my way around PHP Grid and I must say, it's excellent. I'll be registering it.

The problem I have is that after customising the fields, the edit form now comes up blank. In-line editing is fine, but highlight the record and click the edit icon at the bottom and I get now fields listed in the popup.

I have some longer text fields which I wanted to keep out of the main list, so they are hidden, with:
$col["hidden"] = true;
$col["editrules"] = array("edithidden"=>true);

All other fields are defined like :
$col = array();
$col["title"] = "Status";
$col["name"] = "Status";
$col["width"] = "10";
$cols[] = $col;

Any idea what I might be doing wrong?

1 Answers
Abu Ghufran answered 9 years ago

You might also need to set:
$col["editable"] = true;

Your Answer

13 + 5 =

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?