-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All,
I am very new to ZK and currently doing a technology evaluation for the my company product. We are impressed about the features and capabilities of ZK. One of the primary functions we want to have in our project is to embed a spreadsheet view to the web page. We have gone through your API and successfully worked out on a spreadsheet view. We tried to enable the tool bars by the following.
<zss:spreadsheet
id="myzss" src='${fileLocation}' width="100%"
height="600px" maxrows="200" maxcolumns="40" showToolbar="true" />
We configured the project using maven with the help of following resource.
http://books.zkoss.org/wiki/ZK%20Spreadsheet%20Essentials/Getting%20Started%20with%20ZK%20Spreadsheet/Maven
Still we are getting a set of continuous errors on the compatibility of jar files etc. I have tried with different version combinations but we get errors one way or the other.
Could you kindly help me out with some better article. What is the set of jar files I should use?
We are in some tight schedule to finish this and your help is highly appreciated.
Thanks in advance.
Sajith
Hi Ashish,
Thanks for your response. Indeed it works when followed in the way the two resources are given. But I can not see the tool bar as expected. The following is the content in my index.zul file.
<?page title="My First ZK Spreadsheet application" contentType="text/html;charset=UTF-8"?> <zk> <window title="My First ZK Spreadsheet Application" border="normal" vflex="1" width="100%"> <spreadsheet src="/WEB-INF/HelloZSS.xlsx" id="spreadsheet" maxrows="200" maxcolumns="40" vflex="1" width="100%"></spreadsheet> </window> </zk>
Could you kindly help me understand what is missing here?
Thanks,
Sajith
Did you miss showToolbar="true" ?
<?page title="My First ZK Spreadsheet application" contentType="text/html;charset=UTF-8"?> <zk> <window title="My First ZK Spreadsheet Application" border="normal" vflex="1" width="100%"> <spreadsheet src="/WEB-INF/HelloZSS.xlsx" id="spreadsheet" maxrows="200" maxcolumns="40" vflex="1" width="100%"></spreadsheet> </window> </zk>
Hi Ashad,
Thanks a lot for your response. The error was that I have taken it as showToolBar="true". A syntax error. Anyway now it is working fine and I am going to write the backend controllers. Thanks again for your tip. It really helped.
Asked: 2012-10-21 10:11:25 +0800
Seen: 88 times
Last updated: Nov 06 '12