DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Update specific rows in JTable

  1. #1
    Join Date
    Apr 2006

    Question Update specific rows in JTable

    Hi ,
    I have some 5000 rows in the table .I select and edit some of them .What i want to do now is to refresh the table with updated records.I want to know is there any way by which i can reload only updated records and refresh rest of the table?

  2. #2
    Join Date
    Feb 2006
    Cologne - Germany
    when using setValueAt(Object aValue, int rowIndex, int columnIndex) of tablemodel (see a tablemodelevent is created with just that cell. the corresponding listener should then only update the view for that cell.

Similar Threads

  1. dynamically hiding/showing specific rows
    By syxxzonz in forum Web
    Replies: 2
    Last Post: 06-08-2005, 08:42 AM
  2. UPDATE TRIGGER for a specific record
    By Edwin in forum Database
    Replies: 2
    Last Post: 03-27-2003, 12:35 PM
  3. Number of rows update Oracle 8i -using ADO
    By Jawahar Rajan in forum VB Classic
    Replies: 0
    Last Post: 07-09-2002, 05:56 AM
  4. Replies: 3
    Last Post: 06-18-2001, 11:04 AM
  5. JTable: colored rows, how to?
    By Fabio Luis De Paoli in forum Java
    Replies: 1
    Last Post: 12-16-2000, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center