Actions column hide because column Update editype = file

QuestionsActions column hide because column Update editype = file
eric carichon asked 10 years ago

hello,

the Actions column is not visisble when I put up the update column.

apparently it comes from ["EditType"] = "file"?

can you help me?

thank you

eric

3 Answers
Abu Ghufran answered 10 years ago

Please email me screenshot of the issue you are facing,
The "edittype" should be in small caps.

eric carichon answered 10 years ago

sorry,
it is the update column but upload

//Upload
$col_f = array();
$col_f["title"] = "UpLoad";
$col_f["name"] = "UpLoad_Link";
$col_f["width"] = "15";
$col_f["editable"] = true; // this column is editable
$col_f["search"] = false; // this column is not searchable
$col_f["edittype"] = "file"; // render as file
$col_f["upload_dir"] = "uploads"; // upload here
$col_f["show"] = array("list"=>true,"edit"=>true,"add"=>true); // only show in add/edit dialog
$col_f["link"] = 'javascript:window.open("{UpLoad_Link}","newwind","height=850,width=1150, resizable=yes, scrollbars=yes"); void(0);';
$cols[] = $col_f;

Abu Ghufran answered 10 years ago

You have to use 2 columns. one for upload, and another for display download link.
Please refer demos/editing/file-upload.php for working example.

Your Answer

13 + 10 =

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?