Near the top of your template: <cfset ajaxOnLoad("init") />
Then, within a JavaScript script block (preferrably within a document ready statement of some kind): init = function(){ var theGrid = ColdFusion.Grid.getGridObject('myGrid'); theGrid .on('cellclick',function(grid,rowIndex,columnIndex,event){ // What do you want to do today? }); } Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 7/28/2009 5:07 AM, RamaDevi Dobbala wrote: > Hi frnds, > > how can i get current row number inside cfgrid , if any one know please tell . > > Rama > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4