Oohps, misread your question. The total number should be in the length
property. As for the first visible, I don't know, but you can use the
datagrid.scrollToIndex method make sure a specific item is visible.




--- In [email protected], "Steven Lira" <[EMAIL PROTECTED]>
wrote:
>
> I'm trying to find the index of the row in a datagrid which is the
> first visible row. ex. If there are 100 rows but only 15 are visible
at
> any given time, I want to know what the index is of first visible row
> presented in the window. If the window is scrolled down half way, I
> should find that the index of the first visible row is 50 (or
something
> like that).
>
> Someone mentioned using listData but it is null.
>
> I also need to know what the total number of rows are.
>
> Thanks,
> Steve
>


Reply via email to