Hi,
Does anyone have a sample stack of an IOS scrolling data grid?
An example that takes into account a variable scroll content rect would be nice as the data will be populated from a database query with a variable amount of lines. In other words calculate the total amount of lines multiplied by the line height and then set the height of the scroll to that.
I have a table field that scrolls pretty good but when I substituted a datagrid in its place it didn't work at all.
Dave
Example stack of a scrolling data grid?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Example stack of a scrolling data grid?
Hi Dave,
maybe this one could do the job:
http://mergext.com/controls/
http://mergext.com/controls/mergdatagridscroller/
?
Looks like its free...
Best
Klaus
maybe this one could do the job:
http://mergext.com/controls/
http://mergext.com/controls/mergdatagridscroller/
?
Looks like its free...
Best
Klaus
Re: Example stack of a scrolling data grid?
I've used scrolling datagrids with various heights quite frequently.
Then in your create scroller handler,
Code: Select all
set the height of group "DataGrid 1" to the dgNumberOfLines of group "DataGrid 1" * tRowheight
set the top of group "DataGrid 1" to the top of group "Scroller"
Code: Select all
iphoneControlSet sScrollerID, "contentRect", (0, 0, tWidth,the bottom of group "DataGrid 1")
Re: Example stack of a scrolling data grid?
Thanks guys. Monte's Mergext control works pretty good. To me it was well worth the $9 it cost to just get it done and save all the scripting of the scrolling data grid.
Thanks!
Dave
Thanks!
Dave