aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to copy table data into an array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to copy table data into an array" Watch "How to copy table data into an array" New topic

How to copy table data into an array

MaC Shank

Joined: Nov 15, 2011
Posts: 1
I want to copy the data in the table into an array. The table is a single column table with data being filled dynamically in the backend, so I don't know the no. of rows in the table nor the table row id;
yes but the data being filled is unique for each row.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60072

Welcome to the Ranch.

Would it not be better for the backend to create the array as it holds the data in the first place?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: How to copy table data into an array
Similar Threads
Room ID in JTable
Changing row color in jtable
How to expose data from ResultSet to business layer
get the selected row value from the icon which is within
How to move the selected row in Jtable to be the first row in the table