I think there was a blog post, maybe by Hans Muller who did the Spark DG
scrolling work, about how to do snap-to scrolling vertically.  MX DG
always snapped to rows vertically.  I honestly can’t remember if
horizontal scrolling snapped to columns.  Of course, there wasn’t any
bouncing like bar magnets would do, but you could implement that as well.

-Alex

On 6/2/15, 10:07 AM, "Christofer Dutz" <[email protected]> wrote:

>The effect would be similar to (in the physical world) having a bar
>magnet vertically in the center of the free visible space and one
>vertically in the center of each column so whatever column is closer to
>the magnet of the free space is pulled toward this and aligns directly
>over that.
>
>Hope this explains it more easily understandable.
>
>Chris
>
>Gesendet mit meinem HTC
>
>----- Reply message -----
>Von: "Alex Harui" <[email protected]>
>An: "[email protected]" <[email protected]>
>Betreff: DataGrid horizontal scrol behaviour
>Datum: Di., Juni 2, 2015 18:39
>
>Are you using the lockedColumns to keep the first column on screen?
>
>Another option might be two data grids where the first one has one column
>with the rooms, and the other has the time slots but is sized to show all
>columns and in a scrolling container.
>
>-Alex
>
>On 6/2/15, 9:02 AM, "Christofer Dutz" <[email protected]> wrote:
>
>>Something like:
>>
>>horizontalScrollPolicy="swype" would be awesome ;-)
>>
>>Chris
>>
>>________________________________________
>>Von: Christofer Dutz <[email protected]>
>>Gesendet: Dienstag, 2. Juni 2015 17:21
>>An: [email protected]
>>Betreff: DataGrid horizontal scrol behaviour
>>
>>Hi
>>
>>
>>I am currently playing around with my first steps in developing a mobile
>>application.
>>
>>
>>In this application I have one screen displaying a DataGrid displaying a
>>schedule in matrix form.
>>
>>So I have one row for each room and one column for each time slot. I set
>>the grid to fix the first column with the room name so no matter to what
>>time slot you scroll to, you can still see the room name.
>>
>>
>>Now I would like to do two things:
>>
>>a) Set the width of a column so it fills the screen one column at a time
>>
>>b) Have some sort of horizontal scrolling that it's more a column
>>Swyping.
>>
>>
>>Currently I can scroll in between two columns making it hard to read.
>>
>>
>>Any Ideas? Any features I haven't noticed yet?
>>
>>
>>Chris
>

Reply via email to