How to check value of checkbox field in a grid ?

asked 2009-05-02 09:55:41 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

Hi, I have a grid with boolean column. How can I to verify the value of checkbox (checked or not-checked) on input?
I tried to use OnCheck but I cannot read value of field...

n.b. Sorry for the question but I just started using zk ...

Enti <grid id="lstEnti">
<column label="Ente" />
<column label="Descrizione" />
<column label="Selezionato" />
<rows id="lstEntiRighe">
<row self="@{each=ae}">
<label value="@{ae.Ente}" />
<label value="@{ae.Descrizione}" />
<checkbox checked="@{ae.Selezionato}" onCheck="lstEntiOnSelect(self)"/>

void lstEntiOnSelect(Checkbox CkV){

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-05-06 10:08:12 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Try this:



link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2009-05-02 09:55:41 +0800

Seen: 267 times

Last updated: May 06 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More