zk grid - Get value from form of ZK -


i have problem zk!

this part of code:

<template name="model:group">                         <group label="@load(each)" onclick="@command('viewgraph')"/>               </template>          <!-- template each element in model -->          <template name="model" >                                   <row >                                           <label value="@load(each.hour)" />                 <label value="@load(each.value)" />                                                      </row>                                 </template> 

when click on group label create graph each.hour , each.value.

the problem these value table. want graph value clicked item. possible?

the code vague, can suggest try passing through bindingparam:

onclick="@command('viewgraph', item=each)"/> 

but i'm not sure how fill underlying groupsmodel


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -