C
|
cgphp 4/10/2012 |
Add a custom button to the horizontal view, and in the "Client After" tab enter the following code: location.href = "verticalviewname_list.php";
|
C
|
ckapote author 4/10/2012 |
thank you Cristian . Add a custom button to the horizontal view, and in the "Client After" tab enter the following code: location.href = "verticalviewname_list.php";
|
C
|
cgphp 4/10/2012 |
What do you mean for "shows all the records when changin from one view to other"? |
C
|
ckapote author 4/10/2012 |
I mean that if for example I filter the records using the Advanced Search in one view lets say the horizontal and see the filtered records then i click the button and I see in Vertical view all the records in the table and not listed in the filtered view. What do you mean for "shows all the records when changin from one view to other"? |
C
|
cgphp 4/10/2012 |
To keep the searched values across the pages, use the advanced search session variables: http://xlinesoft.com/phprunner/docs/phprunner_session_variables.htm |
C
|
ckapote author 4/10/2012 |
thanks i tried that but is not working To keep the searched values across the pages, use the advanced search session variables: http://xlinesoft.com/phprunner/docs/phprunner_session_variables.htm |
C
|
cgphp 4/10/2012 |
You can't mix js code with php code.
location.href = result['redirection']; |
C
|
ckapote author 4/10/2012 |
thanks but is not working i press the button and only refreshing the page . You can't mix js code with php code. In the Sever tab:
location.href = result['redirection']; |
C
|
cgphp 4/10/2012 |
Wait... location.href is only a redirection... |
C
|
ckapote author 4/10/2012 |
if you can make it clear i would appreciated it Wait... location.href is only a redirection... You have to filter the records using the "Before SQL query" event and the session variables. |