Go to details page

Discuss everything related to ApPHP DataGrid class. All versions. Any questions related to the ApPHP DataGrid developing or using should be posted to this forum.
Please, check out Knowledge Base first before you post a question.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

Forum rules
Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.
Bert
Junior
Junior
Posts: 10
Joined: Jan 5th, '17, 10:48

Go to details page

Postby Bert » Jan 5th, '17, 10:56

Hi all

I am new to apphp datagrid.

Is it possible to go directly to the details page.

I know the ID to edit.

Bert

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

Re: Go to details page

Postby administrator » Jan 6th, '17, 10:49

Please read this:
viewtopic.php?f=33&t=263

You may do this if you use a GET postback method.

Bert
Junior
Junior
Posts: 10
Joined: Jan 5th, '17, 10:48

Re: Go to details page

Postby Bert » Jan 8th, '17, 11:09

thnx for answering

I tried

Code: Select all

if($_POST['prd_mode'] == ""){
    $_POST['prd_mode'] = "edit";
    $_POST['prd_rid'] = "2";
}


But it does not go to the detail page of ID 2.

I put the code in top of the script.

Sorry!!
It WORKS!


Return to “ApPHP DataGrid”