hi
i thik u r using some kind of data provider like array or what ever.......
u can calculate the total number of records from that data provider
structure, say for example the data provider may b the array, then u can get
total number of rows by using ;

arrayname.length property...

hope it may help to u

 

Harry Saputra wrote:
> 
> I have a datagrid ( dgDataTranskrip) that retrieve some data from
> database.
> How to counting row in grid ?
> 
> I try to use dgDataTranskrip.rowCount.toString(), but  the value become 
> -1.
> 
> 
>  
> 
> And, how to get a total value from one field that have a number type ?
> 
> FieldName
> 
> 1
> 
> 2
> 
> 3
> 
> --------------
> 
> 6
> 
>  
> 
>  
> 
> Thanks.
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Datagrid-Counting-row-and-total-value-tp15261201p15262135.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to