Hi
I have an aliased column that contains a dropdown menu with a series of links based on records from other columns, e.g.
$col = array();
$col["title"] = "research gene";
$col["name"] = "pathway";
$col["width"] = "22";
$col["default"] = '<select onClick="openWindow(this)"><option value ="">select</option><optgroup label="Phenotype"><option value="https://phgkb.cdc.gov/HuGENavigator/geneProspector.do?query={subcategory}">Gene Prospector</option> … </select>';
$col["sortable"] = false;
$col["search"] = false;
$col["editable"] = false;
$col["align"] = "center";
$col["export"] = false;
$cols[] = $col;
How can I have this column (or the select statement) update when the field {subcategory} is edited?
Thank you
If you reload whole grid after edit, it should have new subcategory value.
$grid["reloadedit"] = true;
$g>set_options($grid);
Reloading the entire grid takes time and resets the view.
Can just the contents of a single cell or row be updated?
Thank you