Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

checkbox Table problem

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • 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
  • 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: 22004
107
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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: 22004
107
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Dinner will be steamed monkey heads with a side of tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic