开发者

question about coldfusion displaying query result in a cfgrid

开发者 https://www.devze.com 2022-12-10 12:25 出处:网络
i have a coldfusion cfc and some methods in it. MethodA will return a cfquery object. now i use cfajaxproxy to call M开发者_JAVA百科ethodA and get the query result in a cfm page. this cfm page already

i have a coldfusion cfc and some methods in it. MethodA will return a cfquery object. now i use cfajaxproxy to call M开发者_JAVA百科ethodA and get the query result in a cfm page. this cfm page already have a cfgrid there. now my question is how can i display the query result getting from MethodA in the grid which already have data display in it?


You should use cfgrid bind="cfc:You.CFC.Path.method(x,y,z,zz)", and you may want to use QueryConvertForGrid() in CF to prepare the data required for cfgrid.

see "Dynamically filling form data" for reference: http://livedocs.adobe.com/coldfusion/8/htmldocs/ajaxui_5.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号