1 Reply Latest reply on Jul 15, 2008 12:18 PM by Frenzeed

    cfgrid in cflayoutarea

      I have a simple cfgrid that works perfectly when I call the page directly. However, when I pull the page into a cflayout cflayoutarea the striperows don't show up and the selected row won't stay selected. I've tried binding to the cfc, to the url and taking it out of the cfc and using cfinclude and I get the same result every time. Is there something simple I'm doing wrong?

      Grid Code:

      <!--- Import Ajax tags --->
      <cfajaximport tags="cfgrid, cfform">

      <!--- Title --->
      <span class="subtitle">Prospects:</span>

      <!--- Display Grid --->
      <cfgrid name="prospectGrid"
      bind="cfc:components.prospects.getGridProspectData ('#SESSION.auth.contactID#',

      <cfgridcolumn name="LastName" header="Last Name" display="yes" headerbold="yes">
      <cfgridcolumn name="FirstName" header="First Name" display="yes" headerbold="yes">
      <cfgridcolumn name="SiteCity" header="City" display="yes" headerbold="yes">
      <cfgridcolumn name="SitePhone" header="Phone" display="yes" headerbold="yes">
      <cfgridcolumn name="Sitefax" header="Fax" display="yes" headerbold="yes">
      <cfgridcolumn name="Email" header="Email" display="yes" headerbold="yes">
      <cfgridcolumn name="Status" header="Status"display="yes" headerbold="yes">
      <cfgridcolumn name="StartDate" header="Date Started" display="yes" headerbold="yes">


      Layout Page Code:

      <link href="../membersite/member1.css" rel="stylesheet" type="text/css" />
      <cfajaximport tags="cfgrid, cflayout-border, cfform">

      <!--- ajax layout for account page --->
      <cflayout type="border">
      <cflayoutarea position="left" name="accountleft" size="50">

      <cflayoutarea position="top" name="accounttop">

      <cflayoutarea position="center" name="accountcenter">
      <cfdiv bind="url:myprospects.cfm?contactID=#SESSION.auth.contactID#">

      <cflayoutarea position="bottom" name="accountbottom" size="400">

      <cflayoutarea position="right" name="accountright" size="400">