Dale,
Should read my blog more then:-)
If you followon from my Grid example, and use the extJS docs you would
get the following.
var grid = ColdFusion.Grid.getGridObject('NameOfGrid');
grid.getSelectionModel().getSelected()
Will return the record store of the selected row. btw if you use
Firefox and firebug, you can type the following into the console of
firebug.
grid, which will dump the structure of the grid to get all its
properties and methods. And you can drill into the getSelectionModel
and see the same for the methods etc for that.
but for more info your best bet is go to extJS.com and the info is all there.
On 10/11/07, Dale Fraser <[EMAIL PROTECTED]> 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
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290851
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4