DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006
    Posts
    1

    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
    Location
    Cologne - Germany
    Posts
    271
    when using setValueAt(Object aValue, int rowIndex, int columnIndex) of tablemodel (see http://java.sun.com/j2se/1.4.2/docs/...ableModel.html) 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, 11:35 AM
  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, 10:00 PM

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links