Datagrid Scrolling
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Datagrid Scrolling
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.
Re: Datagrid Scrolling
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.
UPDATE: I had to exit LIveCode and when I restarted the problem didn't come back. Strange.