-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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">
<columns>
<column label="Ente" />
<column label="Descrizione" />
<column label="Selezionato" />
</columns>
<rows id="lstEntiRighe">
<row self="@{each=ae}">
<label value="@{ae.Ente}" />
<label value="@{ae.Descrizione}" />
<checkbox checked="@{ae.Selezionato}" onCheck="lstEntiOnSelect(self)"/>
</row>
</rows>
</grid>
void lstEntiOnSelect(Checkbox CkV){
;
}
Try this:
CkV.isChecked();
/Jumper
Asked: 2009-05-02 09:55:41 +0800
Seen: 269 times
Last updated: May 06 '09