-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
Is it possible with spreadsheet EE to set value to a java bean (not only getting the value) ?
Is it possible to to display a collection of java bean (for each row for example ?)
Many thanks,
Ludovic
Hi ludopaquet,
At the moment it is only one way i.e. from Spring bean to ZK Spreadsheet cell. It is sort of a natural limitation since when you enter a value in cell the back-end cell model value(which btw is the java bean binding expression) will be overwritten by the value just entered hence loosing any connection/reference to java bean and its property. Theoretically it is still possible by using some trick like adding a textbox in front of actual cell and only passing this value thereby not destrying the javabean expression in the cell model. Feel free to post this feature request to ZK Spreadsheet tracker here and it might get added in near future.
Thanks ashishd,
Any idea about displaying a list of objects into rows ?
Thanks,
Ludovic
Hi,
Imagine the java bean ljbean is a List<Object>
. Inside a cell you write for(obj in ljbean){obj.param}
. As a result the column will be filled with all param properties of all objects in the list.
Bump - sorry to bring up old topic but this seems to be the best location for it.
Has any of this been changed in the latest version of zss?
I am interested in:
1) Two way binding. Binding from the database to the cell, and binding from the cell to the database. If I make a change in the cell, I would like the POJO to be updated.
2) If the bean is a List<Object>, can I populate the column with all the objects in the list?
Hi eveyBody:
Binding from the cell to the database ,Is there any some code about .I am interested in it.
Asked: 2011-04-21 09:18:32 +0800
Seen: 534 times
Last updated: Jun 15 '16
Some feedback about ZK SpreadSheet
Cannot add to Eclipse the ZK SPreadsheet jars
Zk Spreadsheet: Date in cells are displayed as GMT+0 while my locale is GMT+8
I want cancel the page part refresh ,how?
Spreadheet and pagination problem
Zk spreadsheet 2.0 beta3 - row copy/cut and paste not working
Zk spreadsheet - cell values changing automatically