Hide/Show cfgrid
Is there any way to show a hidden cfgrid based
on an OnChange event from another cfgrid? I've tried using
a javascript function call.
<!--- First grid excerpt --->...
bind="cfc:ATC._cfc.GetRCPsForFTEs.GetFTEs({cfgridpage},
{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{RCPs4FTEs.RCP_ID})"
onChange="javascript:toggleEdit(EditTog)">
<!--- 2nd grid excerpt --->
<!--- hide/show grid --->
<script language="JavaScript">
function ChangeGrid(obj) {
if (document.getElementById(obj).style.display == ")
{document.getElementById(obj).style.display = 'none';}
else
{document.getElementById(obj).style.display = ";}
alert("function ran");
}
</script>
If not,
any suggestions on how I could show the hidden
cfgrid from another cfgrid by some other method?
Thanks
