details mode, edit button not visible

All ApPHP DataGrid script bugs discussion. Questions and requests here.
Please, use a $debug_mode = true; before you say "Why Nothing Works ?!" (solves 90% of all issues)

Moderator: alexandrleonenko

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

details mode, edit button not visible

Postby ifras7 » May 8th, '14, 09:44

Hi,

Edit button is not visible in details mode. can you please check

$modes = array(
"add" =>array("view"=>true, "edit"=>false, "type"=>"link", "show_add_button"=>"outside"),
"edit" =>array("view"=>true, "edit"=>true, "type"=>"link", "byFieldValue"=>""),
"details" =>array("view"=>true, "edit"=>true, "type"=>"link"),
"delete" =>array("view"=>true, "edit"=>true, "type"=>"image")
);
$dgrid->SetModes($modes);

Thanks

administrator
Site Admin
Site Admin
Posts: 6011
Joined: Jan 7th, '09, 23:18
Contact:

Re: details mode, edit button not visible

Postby administrator » May 11th, '14, 06:30

This configuration must show details button in Edit mode, not edit button in Details mode.
We've added this issue to our TODO list - thanks for the help.

ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Re: details mode, edit button not visible

Postby ifras7 » May 12th, '14, 03:34

I’m referring to code line "details" =>array("view"=>true, "edit"=>true, "type"=>"link"),
I hope this indicate edit button should visible in details mode.

Can you please check again, Thanks.

administrator
Site Admin
Site Admin
Posts: 6011
Joined: Jan 7th, '09, 23:18
Contact:

Re: details mode, edit button not visible

Postby administrator » May 12th, '14, 06:40


ifras7
Expert
Expert
Posts: 83
Joined: Mar 17th, '10, 05:18

Re: details mode, edit button not visible

Postby ifras7 » May 12th, '14, 07:21

Ok Thanks, clear to me.
But is it possible to get the Edit button in details mode?
I hope, by adjusting the code like below and relevant change to datagrid class file... it should be possible.
"edit" =>array("view"=>true, "edit"=>true, "details"=>true, "type"=>"link", "byFieldValue"=>""),

If possible, will you be able to provide the datagrid class file code change

administrator
Site Admin
Site Admin
Posts: 6011
Joined: Jan 7th, '09, 23:18
Contact:

Re: details mode, edit button not visible

Postby administrator » May 13th, '14, 06:38

Yes, we've added this request to the next version.


Return to “ApPHP DataGrid {bugs}”