Results 1 to 2 of 2
  1. #1
    pothraj is offline Member
    Join Date
    Dec 2008
    Rep Power

    Unhappy checkBox in Jtable renderining problem

    Hi All,
    I am using Jtable with checkboxes as groups and subgroups.
    My first Row,My first column is a checkbox followed by the groupName

    My secondRow,third column will be the checkbox containg all the subgroup values's some thing like

    CkeckBox Group1
    Checkbox Sub1 1 2 3 4
    Checkbox Sub2 2 3 3 3
    CheckBOx Group2
    Checkbox Sub3 1 2 3 4
    Checkbox Sub4 2 3 3 3

    when clicking on CkeckBox Group1 all checkboxes under group1 must be checked.i.e. checkBox sub1 and sub2 must be checked..viceversa for deseleceting the checkBoxGroup1.

    similarly for checkBox group2 ..

    but when I am trying to do the same when clciking on group2 then also subgroups of group1 are selected..
    may be this is becoz of renderining problem..

    any help?????

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    Post a SSCCE : Java Glossary and someone might be able to spot what's wrong.

    (Don't post hundreds of lines of irrelevant code)


Similar Threads

  1. problem in get result than SQL to jtable
    By MS_Dark in forum New To Java
    Replies: 0
    Last Post: 12-13-2008, 12:52 PM
  2. JTABLE problem
    By MaximInf in forum AWT / Swing
    Replies: 4
    Last Post: 06-21-2008, 10:45 AM
  3. JTable problem
    By robbertds1 in forum AWT / Swing
    Replies: 1
    Last Post: 05-20-2008, 06:34 PM
  4. Replies: 2
    Last Post: 05-15-2008, 10:15 AM
  5. Problem with JTable
    By Felissa in forum AWT / Swing
    Replies: 2
    Last Post: 07-04-2007, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts