Ok guys....

Here is a beginners question.  I'm just beginning to dive into CFGRIDS  
and bindings and can't figure out what is most certainly an easy  
issue.  I have a data grid populated with data from a CFC.  Works  
great.  How do I add an additional argument to filter down the query  
results?  In this case, I want to filter down by the  
session.user.userid variable that is set.

=====================START EXAMPLE CODE=====================
<cfform>
    <cfgrid name="reports"
          format="html"
          pagesize="10"
          striperows="yes"
          selectmode="browse"
          delete="yes"
           
bind="cfc:applications.OSHA300.OSHA300.getReports({cfgridpage},
                               {cfgridpagesize},
                               {cfgridsortcolumn},
                               {cfgridsortdirection})"
         >
       <cfgridcolumn name="is" display="false" />


       <cfgridcolumn name="reportID" header="ReportID" width="250"  
href="details.cfm" hrefkey="Reportid"/>
       <cfgridcolumn name="DOI" header="Date of Injury / Illness"  
width="150"/>
       <cfgridcolumn name="fname" header="Last Name" width="100"/>
       <cfgridcolumn name="lname" header="First Name" width="100"/>


    </cfgrid>
</cfform>
=============================END EXAMPLE===================

Also, is there a better way to provide a hyperlink to a details page.   
Like say, clicking anywhere on a row?

Thanks.

Phil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294926
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to