Multiple Datagrids Inside DIV

Talk about implementing of customized templates

Moderator: alexandrleonenko

mikegrimsley76
Newbie
Newbie
Posts: 2
Joined: Feb 19th, '15, 22:10

Multiple Datagrids Inside DIV

Postby mikegrimsley76 » Mar 8th, '15, 01:30

I have 4 datagrids on a page. Each is enclosed is a div. Each div is a separate tab on the page and tabs are created using javascript and php.

If I click add or edit on any tab but the first one the page refreshes and takes me back to the first tab.

Example:
4 tabs [price, cost, vendor, customer]
If I click on add or edit in any of the last 3 [price, cost, vendor] then I am redirected back to the first tab [price]

How do I keep the datagrid from refreshing the page to add or edit? Or is there a way to make it return to the correct tab on refresh?

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

Re: Multiple Datagrids Inside DIV

Postby administrator » Mar 8th, '15, 18:50

You have to save passed parameters after each click on tab:
http://www.apphp.net/forum/viewtopic.php?f=33&t=352


Return to “Add/Edit/View Mode Templates Implementing”