i have just stumbled across your post, which got lost in another email
thread in my thunderbird for some reason...
so, if you haven't found an answer yet:
1) to pass an extra argument to your cfc to which your grid is 'binded'
to, just add it to the arguments you are passing already, surrounding it
with ' (single quotes) if it is a text string.
example:
bind="cfc:applications.OSHA300.OSHA300.getReports({cfgridpage},
{cfgridpagesize},
{cfgridsortcolumn},
{cfgridsortdirection},
'#session.user.userid#')"
in your cfc treat the added argument as regular cfargument.
2) hyperlinking cfgrid rows: look up the HREF and HREFKEY arguments of
CFGRID tag in the docs.
hth and sorry if this has already been answered...
merry xmas!
---
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Philip Hayes wrote:
> 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.
>
> ...
>
> 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:295350
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4