Giter Site home page Giter Site logo

Comments (2)

AndrewNatoli avatar AndrewNatoli commented on June 23, 2024

_Here is a modified views/index.xml from the example code_

<Alloy>
    <Window id="leftWindow">
        <TableView id="leftTable">
            <TableViewRow>
                <Label text="hello left window"></Label>
            </TableViewRow>
        </TableView>
    </Window>

    <NavigationWindow id="navgroup">
        <Window id="win">
            <LeftNavButton>
                <Button title="Left" onClick="openLeft"></Button>
            </LeftNavButton>
            <RightNavButton>
                <Button title="Right" onClick="openRight"></Button>
            </RightNavButton>
            <TableView moving="true">
                <TableViewRow height="60sp" title="Test 0"/>
                <TableViewRow height="60sp" title="Test 1"/>
                <TableViewRow height="60sp" title="Test 2"/>
                <TableViewRow height="60sp" title="Test 3"/>
                <TableViewRow height="60sp" title="Test 4"/>
                <TableViewRow height="60sp" title="Test 5"/>
                <TableViewRow height="60sp" title="Test 6"/>
                <TableViewRow height="60sp" title="Test 7"/>
                <TableViewRow height="60sp" title="Test 8"/>
                <TableViewRow height="60sp" title="Test 9"/>
            </TableView>
        </Window>   
    </NavigationWindow>

    <Window id="rightWindow">
        <TableView id="rightTable">
            <TableViewRow>
                <Label text="hello right window"></Label>
            </TableViewRow>
        </TableView>
    </Window>
</Alloy>

This simply makes a few moveable TableViewRows. I can't re-order them.

from nappslidemenu.

AndrewNatoli avatar AndrewNatoli commented on June 23, 2024

I found one way to work around this...

When you need to use the TableView.moving property set

slideMenu.setPanningMode("NoPanning");

Then once you've finished and disable moving, return to the original panningMode

slideMenu.setPanningMode("FullViewPanning");

or which ever method you use by default.

from nappslidemenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.