That link to the docs is great,

I've looked at the Ext docs previously, and im doing something dumb as I
have no idea how you managed to navigate to get that page.

The previous page has that getSelectionModel, but there doesn't appear to be
any links taking you to the objects' page that you posted here.

Regards
Dale Fraser

http://learncf.com


-----Original Message-----
From: Azadi Saryev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 11 October 2007 10:40 PM
To: CF-Talk
Subject: Re: CFGRID Select Row

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.ht
ml


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
>
>  
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:290893
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to