Hi,
I'm trying to link ID from grid as $_session Variable to other page on click or Submit button…
¿someboy know the method to make it?
Thanks!
You can set link formatter to any column, and pass the ID or similar field to other url using {field} placeholder in url.
Refer demos/appearance/external-link.php
$col = array();
$col["title"] = "Client";
$col["name"] = "name";
$col["width"] = "100";
$col["search"] = true;
$col["editable"] = true;
$col["export"] = false; // this column will not be exported
// link e.g. http://domain.com?id={id} given that, there is a column with $col["name"] = "id" exist
$col["link"] = "http://google.com/?id={id}";
$col["linkoptions"] = "target='_blank'"; // extra params with <a> tag
$cols[] = $col;
Ok, Would have to work; But what about security to ensure clicking from form and not external?
session vars maybe better…
Thanks!