Hi Glen,
Thanks for the suggestions.  In this case, the thumb is firmly anchord at
the bottom of the crollbar, seemingly indictaing that there are no more
rows.

Unfortunatly, references to the dgText have no effect in this environmentt.
 Using the dgNumberOfRecofrds and GetDataOfLine means that I'm taking over
responsibility for the content of the datagrid,  so many of the normal dg
functions and properties have no effect since the dg no longer maintains
it's own internal storage array.

I have found a workaround and that is to call RefreshList right after I've
relaoded the dg with new data.  I hate doing that though because it cause
the whole cycle of calls to GetDataOfLine to happen one more time when
nothing changed.



On Fri, Apr 13, 2012 at 7:19 PM, Glen Bojsza <gboj...@gmail.com> wrote:

> On the second issue, is it that the scrolling does not work at all?
>
> I have encountered this problem several times where there are more rows
> than what is shown but the vertical scroll bar does not scroll past the
> lines shown... ie the size of the scroll bar indicates that more rows are
> present.
>
> In the message box you could try
>
> set the dgtext of grp "nameofdatagrid" to the dgtext of grp
> "nameofdatagrid"
>
> and see if this gets the scrolling working again.
>
>
>
> On Apr 13, 2012, at 7:57 PM, Peter Haworth <p...@lcsql.com> wrote:
>
> > I am running into some pretty major issues using the datagrid's
> >
> >
> > Second Issue.
> >
> > This one seems to happen when the total number of rows in the datagrid is
> > an exact multiple of the visible rows in the datagrid.  For example,
> let's
> > say there are 50 records presented to the datagrid and it has 10 visible
> > lines.  No problem with the initial display of the data.  Now I want to
> add
> > a row of data to the end of the datagrid.  I set the dgNumberOfRecords to
> > the new row count but the datagrid still shows the original last row at
> the
> > end of the datagrid and I cannot scroll down any further.  I try
> scroliing
> > up and down, no joy.  Bad News.
> >
> >
> > Trevor or zryip, or anyone else - any ideas?
> >
> > --
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to