Calculate number of rows in a DataGrid

Peter Haworth pete at lcsql.com
Wed Nov 19 12:03:02 EST 2014


dgVisibleLines of the datagrid

Pete
lcSQL Software
On Nov 19, 2014 3:59 AM, "Terence Heaford" <t.heaford at btinternet.com> wrote:

> How can I calculate the number of rows in a DataGrid.
>
> I don’t mean the dgNumberOfLines as this is just the number of rows
> containing data.
>
> I actually need the number of visible rows. The DataGrid can be resized by
> script.
>
> It is straightforward where the height of the header and the height of a
> row is fixed but I was hoping the information may be a property of the
> DataGrid but I can’t seem to fined one.
>
>
> Thanks
>
> Terry
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list