On Apr 22, 2009, at 5:43 PM, Josep wrote:

Yes, this work perfectly.

I need to perform some operation over some data cols, so what is better,

use SetDataOfIndex over each value or first make the operations and then
update the entire line with SetDataOfLine?

SetDataOfIndex and SetDataOfLine actually do the same exact thing, just with different targets (index vs. line). If you want to update all columns at once you could do this:

put the dgDataOfIndex[ theIndex ] into theArrayA
## update column values in array
-- put "new value" into theArrayA["col 1"]
-- put "new value" into theArrayA["col 2"]

set the dgDataOfIndex[ theIndex ] to theArrayA

The above syntax will update the internal data of the data grid and refresh the display.

SetDataOfIndex will not refresh the display. You have to call RefreshList.

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.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

Reply via email to