Reputation:
I'm looking for an abstract representation of a grid in Java (grid as in that thing with columns and rows of data). Do such things exist? I want to be able to sort, filter, keep track of rows, set column properties etc. I'll then be realising the grid on the web.
To be clear: I've already decided on the ultimate view technology (client side). The thing I'm looking for will hold all the records and offer them up as the view demands.
Upvotes: 3
Views: 408
Reputation: 3343
You can reuse the table models of the Glazed Lists project (provided that you can hook your web view to a regular TableModel)
Upvotes: 0
Reputation: 15715
Have a look to this tutorial from Sun about the tables in java. It gives a good idea on how to implement the model.
Upvotes: 1