-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I need to create a functionality as follows
If it is possible in zk grid, please help
You can render a ListModel
with zk grid in MVVM pattern, please refer to http://books.zkoss.org/zk-mvvm-book/8.0/databinding/collectionand_selection.html
To listen to values change, you can render a <intbox>
/<decimalbox>
in a row and specify a command binding at onChange
event:
<intbox onChange="@command('update')"/>
In that method, you can update the sum of the corresponding column.
If you want more powerful formula features, please use Keiaki.
If you still encounter problems, please describe specific and technical details.
Asked: 2020-07-27 02:30:21 +0800
Seen: 10 times
Last updated: Jul 27 '20
which pattern do you prefer? MVC or MVVM?
hawk ( 2020-07-27 09:44:42 +0800 )editMVVM
Pramil ( 2020-07-27 11:04:38 +0800 )edit