• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

checkbox Table problem

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I am struggling with a jcheckbox table functionality , saw some posts and tried to implement it .
i need a functionality which is like this:
1. if i select all the all the individual records of the table then header table (checkbox) should be shown as checked
2. If after disselecting any of the rows the table header ,header checkbox should be shown as disable.

Code i have implemented is shown below . if any one expert knows do add the required code to the comments shown in the code ,do let me know


[RP]Added code tags[/RP]

[ September 11, 2008: Message edited by: Rob Prime ]

[ September 11, 2008: Message edited by: Rob Prime ]
[ September 11, 2008: Message edited by: Bear Bibeault ]
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Please use CODE tags. It makes the code readable and understandable for others.
2) What is this : import sun.java2d.loops.RenderCache;
[ September 11, 2008: Message edited by: Maneesh Godbole ]
 
Diwakar Chittora
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi manish ,
next time i will keep a note of that .. today i got the solution of that .. thanks for your interest .

bbye
Diw
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Care to share that solution for other ranchers who may have the same problem?
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Diwakar

Can you please update the code which you had implemented to select header checkbox if all the checkbox gets selected one by one.
I am trying hard to implement tha same thing... but didnt find any solution for this.

Thanks In Advance
Sharad
 
Rob Spoor
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sharad, please Don't Wake The Zombies. This thread hasn't had a reply for nearly 6 months, and Diwara hasn't been active for 3 months.
 
reply
    Bookmark Topic Watch Topic
  • New Topic