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.
On 10/5/07, Azadi Saryev <[EMAIL PROTECTED]> wrote:
>
> Dang! the damn things has instead put the files in-line! oh well... i
> hope you can see where cfm code ends and cfc starts....
>
> Azadi
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:290265
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4