Datagrid Scrolling

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RBarker
Posts: 5
Joined: Wed Aug 22, 2012 10:39 pm

Datagrid Scrolling

Post by RBarker » Fri Dec 21, 2012 3:04 am

My datagrid is suddenly not scrolling - the scrollbar works but the corresponding data is not showing. I don't know what I've done wrong to cause this - I've tried changing various datagrid property settings but nothing makes a difference. I am fairly new to livecode but have created quite a few datagrids but never come across this problem before. I have never added anything in the scripts to make scrolling work - is this required? Whenever I add/update/delete details from the datagrid I 'refresh' it by accessing the (SQL) database, putting the selected lines into an array to reformat some dates on each line, put the array into tRecords then set the dgtext of datagrid group to tRecords. Any help would be appreciated.

n9yty
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 52
Joined: Thu Feb 28, 2013 11:33 pm

Re: Datagrid Scrolling

Post by n9yty » Thu Mar 07, 2013 7:03 pm

I don't suppose you ever found the cause of this problem, did you? I am just starting with using Data Grids, using a Form style, and it was working fine and has stopped. I was tinkering with the LayoutControl handler, but I can't find what may be causing the problem. Stepping through it in debugging doesn't ever throw any errors.

UPDATE: I had to exit LIveCode and when I restarted the problem didn't come back. Strange.

Post Reply