Page 1 of 1

Datagrid How many lines

Posted: Mon Aug 10, 2015 3:52 pm
by Baltazarg
How i can do to know how many row i have in my data grid.

I need this to make a loop.

Thank's

Re: Datagrid How many lines

Posted: Mon Aug 10, 2015 7:26 pm
by zaxos

Code: Select all

on mouseUp
put the dgData of grp "datagrid" into theData
put the number of elements in theData
end mouseUp
each element should be a line, altho i havent tested this.

Re: Datagrid How many lines

Posted: Mon Aug 10, 2015 7:39 pm
by Baltazarg
Thanks


Like this it's work fine

Code: Select all

 put the dgData of group "DDDD" into theDAtaA
put the number of elements of theDAtaA into msg