Wow! That simple!
Looking at it now I can't believe I didn't try that before...
I can't say "Thank you" enough times, Brian!
Azadi
Brian Kotek wrote:
> Actually, it looks like using the callback won't work, but the solution
> looks even easier, just do it right in your function:
>
> getSearchResults = function(page,pagesize,sortcol,sortdir,cid){
> var sr = new results3();
> result = sr.aList2(page,pagesize,sortcol,sortdir,cid);
> document.getElementById('ttlresults').innerHTML =
> result.TOTALROWCOUNT;
> return result;
> }
>
> Also, remove the ajaxOnLoad setting...you don't need it. Just set the grid's
> bindOnLoad to true.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290266
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4