JTable Hide column remove column with buttons in th column for doing it

Posted on 2009-02-08
Last Modified: 2013-12-22
I need functionality in which i should be able to hide column
1-Hide column in a table
2-A button for doing the same
3-Already hidden column should not be part of it

how can i do it?
Question by:gorge_thomas
    LVL 4

    Accepted Solution

    you can see the example with a button to hide Jtable column here

    Author Comment

    Hello, rdm4u thanks a lot again:)
    that was really great example and what i was looking for. Has some more issues with it. still i think i can resolve
    Points assigned
    LVL 4

    Expert Comment

    you are welcome!

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now