Hi Abu, I have a grid which outputs staff names [Adviser], I then added a link to another grid from this column which should load only that [Adviser] records. Once clicked it loads page but no grid, the url output is http://mydomain.co.uk/adviser_detail.php/?Adviser=demo+use?
Should this work OK, the field Adviser exists in both grids?
Main Page;
$col = array();
$col["title"] = "Adviser"; // caption of column
$col["name"] = "Adviser"; // grid column name
$col["link"] = "http://mydomain.co.uk/adviser_detail.php/?Adviser={Adviser}";
$col["linkoptions"] = "target='_blank'"; // extra params with <a> tag
$cols[] = $col;
Thank you
Should work ok.
Alternate of link/linkoption is:
$col["default"] = "<a target='_blank' href='http://mydomain.co.uk/adviser_detail.php/?Adviser={Adviser}'>{Adviser}</a>";
Yes I thought so too but no joy, would I need a where statement in the detail page
where adviser = $adviser for example?