0

Excel in jsp using zss spreadsheet

asked 2016-07-27 13:15:34 +0800

subseth gravatar image subseth
1

updated 2016-07-27 13:21:59 +0800

Hi, I am trying out the zk spreadsheet. I am trying to use it in my jsp file. I am using struts2. Excel is loaded using zss:spreadsheet:

<div width="100%" style="height: 100%;">
<zssjsp:spreadsheet id="myzss" src="/application_for_leave.xlsx" width="100%" height="100%" maxVisibleRows="100" maxVisibleColumns="100" showSheetbar="false"/>
</div>

I can see the file in jsp, but everything is smashed together. I cannot click inside, it doesn't look like excel-like file. What am I missing? Thank you.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-08-28 18:09:10 +0800

Darksu gravatar image Darksu
1991 1 4

Hello subseth,

The ZK spreadsheet jsp tag should be as shown below:

<zss:spreadsheet id="myzss" src="/WEB-INF/Excel/ZSS-demo_sample.xlsx"/>

Please refer to the following documentation:

https://www.zkoss.org/wiki/ZKSpreadsheetEssentials/ZKSpreadsheetJSPTag/UsingZKSpreadsheetJSP_Tag

Also it is not clear what is the height of the parent component.

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2018-11-21 18:47:26 +0800

AriadneSoftware gravatar image AriadneSoftware
1 1

I am faced same issue

<zssjsp:spreadsheet id="myzss" src="/application_for_leave.xlsx" width="100%" height="100%" maxvisiblerows="100" maxvisiblecolumns="100" showsheetbar="false"/>

I can see the file in jsp, but everything is smashed together. I cannot click inside.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2016-07-27 13:15:34 +0800

Seen: 28 times

Last updated: Nov 21 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More