This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

checkbox Table problem

 
Diwakar Chittora
Greenhorn
Posts: 23
  • 0
  • 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 ]
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • 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
  • 0
  • 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
 
Rob Spoor
Sheriff
Pie
Posts: 20388
46
Chrome Eclipse IDE Java Windows
  • 0
  • 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?
 
Sharad Kharya
Ranch Hand
Posts: 68
  • 0
  • 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
Pie
Posts: 20388
46
Chrome Eclipse IDE Java Windows
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic