0

i need a custom listview in javafx, in that i want five textview in the item. this is a list of food orders which comes from the server using API and i have to display it in the listview. In one item there will be six text view for different six information like: 1. order id 2. order date and time 3. customer name 4. order type 5. payment status 6. total amount

Gurjeet Singh
  • 43
  • 1
  • 10
  • That sounds like you really need a [`TableView`](http://docs.oracle.com/javase/8/javafx/user-interface-tutorial/table-view.htm#CJAGAAEE). – James_D Jan 28 '16 at 17:53
  • can i add click event on table item? – Gurjeet Singh Jan 28 '16 at 17:56
  • The same way as you do with a list: use a `cellFactory` and register handlers with the cells. – James_D Jan 28 '16 at 17:57
  • do you have an example of this thing? – Gurjeet Singh Jan 28 '16 at 18:07
  • http://stackoverflow.com/questions/26563390/detect-doubleclick-on-row-of-tableview-javafx or http://stackoverflow.com/questions/12499269/javafx-tableview-detect-a-doubleclick-on-a-cell or http://stackoverflow.com/questions/23998082/detect-doubleclick-on-cell-of-tableview-javafx or ... – James_D Jan 28 '16 at 18:09
  • hii.. can you please tell me .. how i pass a print job to a specific selected printer in my javafx application? – Gurjeet Singh Feb 04 '16 at 19:06
  • That has absolutely nothing to do with this question. Post a new question. You should include some code showing what you have tried. You might want to read up on how to use this site a little first: start with the [help] and maybe take the [tour]. – James_D Feb 04 '16 at 19:28
  • yes i post new question : http://stackoverflow.com/questions/35209455/how-pass-a-print-job-to-a-specific-printer-in-javafx-applcation – Gurjeet Singh Feb 04 '16 at 19:34
  • are you check my new post? – Gurjeet Singh Feb 04 '16 at 19:47

0 Answers0