Coder Social home page Coder Social logo

cois-2240h-finalproject's People

Contributors

itchyfern avatar matthew-e-brown avatar melissavanbussel avatar

Stargazers

 avatar

Watchers

 avatar

cois-2240h-finalproject's Issues

Order screen's table does not refresh properly

Problem

The table doesn't "refresh"; it shows "No Data in Table" every time.

Explanation

The function below is mostly identical to how it was before, but it does not seem to work. The differences are that, instead of creating a new Order, order is a static import from Main (See this line).

The TableView that is actually loaded is referenced as @FXML TableView orderTable; in the controller. The generateTable(); method makes an entirely new TableView from Main's static order object's getItems(); method.

https://github.com/matthew-e-brown/COIS-2240-FinalProject/blob/db563e4b336f9f66a82465ed8b530b42a5d041fe/CCA-Java/src/kiosk/OrderController.java#L35-L63

Try and take a look at it (if you're up early, don't worry about working on a new branch). You were the one who understood the TableView stuff, so hopefully you can get it working.

Maybe you can't just set an @FXML reference to a new TableView? I did some tests with simple System.out.printlns, and it seemed to be working fine. It's just... No Data in Table.

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.