simple as everything ajax seems to be:

refreshgrid = function(){
    
ColdFusion.Grid.getGridObject('yourgridname').getSelectionModel().selectRow(rownumber);
}

NOTE: rownumbers seem to be 0-based

you can also use:
selectRows()
selectRange()
clearSelections()

and a lot more...

more info @ 
{cfwebroot}/CFIDE/scripts/ajax/ext/docs/output/Ext.grid.RowSelectionModel.html


Azadi Saryev


Dale Fraser wrote:
> Anyone know how to programmatically select a row in a grid.
>
>  
>
> Sometimes you want to refresh the grid and then upon refresh select a
> specific row.
>
>  
>
> Regards
>
> Dale Fraser
>
>  
>
> http://learncf.com
>
>  
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to