In the same vein as Ajax implementations, you can filter on the client or the server.
For the former, your cfc would receive an optional input which would limit the results returned. The records would be fetched from the server every time new filtering was applied. The latter would involve some ActionScript and looping. Basically you would loop over the results and populate the grid with the matching data without hitting the server again. Check out (http://www.asfusion.com/blog/entry/filtering-a-cfgrid-as-you-type--revi sited-) The first option results in more network traffic, but easier to implement, and will probably perform better if you are dealing with a lot of records. ~Brad -----Original Message----- From: Philip Hayes [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 11:17 AM To: CF-Talk Subject: Filtering with a session variable in CFGRID and Paging 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. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:294927 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

