Perfect!

Absolutely perfect!  Thanks Trevor ... Again.

Jack Rarick
Braintree Athletic Systems

------Original Message------
From: Trevor DeVore
Sender: [email protected]
To: How to use Revolution
ReplyTo: How to use Revolution
Subject: Re: Datagrid - Selecting a line after sorting ..
Sent: Apr 9, 2010 9:26 AM

On Apr 8, 2010, at 11:03 PM, JACK RARICK wrote:

> I have a datagrid with one hundred rows and six columns. The user  
> clicks on a "cell" somewhere in the middle of the grid that  
> immediately performs an action and resorts the grid. The row number  
> is stored - but how do I get the original line "reselected" so the  
> user knows where he was?

Grab the dgHilitedIndex before you sort and then set the  
dgHilitedIndex after performing the sort. Using the index allows you  
to track rows in the Data Grid regardless of sort order.

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Sent from my Verizon Wireless BlackBerry
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to