-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Welcome to the keikai-tutorial wiki!
A project to demonstrate how to integrate ZK framework with Keikai.
Name | Class |
---|---|
ON_CELL_CLICK, ON_CELL_RIGHT_CLICK, ON_CELL_DOUBLE_CLICK, ON_CELL_MOUSE_ENTER, ON_CELL_MOUSE_LEAVE | CellMouseEvent |
ON_MOVE_FOCUS, ON_SELECTION_CHANGE | RangeSelectEvent |
ON_KEY_DOWN, ON_KEY_UP, ON_KEY_PRESS | RangeKeyEvent |
ON_EDIT_SAVE, ON_EDIT_START, ON_EDIT_CANCEL | CellEditEvent |
ON_SHEET_VISIBLE, ON_SHEET_ACTIVATE, ON_SHEET_ADD, ON_SHEET_DELETE, ON_SHEET_MOVE, ON_SHEET_RENAME | SheetEvent |
ON_AUX_ACTION | AuxActionEvent |
ON_HYPERLINK_CLICK | CellHyperlinkEvent |
ON_SHAPE_CLICK, ON_SHAPE_ACTION | ShapeEvent |
When you visit the demo page, if you see the error:
That means the version of keikai java client is inconsistent with the server. The message also tells you both the client and server version you use. You need to make both version consistent, so you can either:
- Contact us to download another version of keikai server
- Change keikai client version of this tutorial project
Just modify the version string in the corresponding file depending on which tool you run this project.
pom.xml
<version>*-Eval</version>
build.gradle
compile "io.keikai:keikai-java-client:*-Eval"
Importing larger files require larger heap size. Here are peak heap size consumed by an application server. Please reference it to specify your server's heap size.
File size | Number of Cells | Peak Heap Size |
---|---|---|
10 MB | 1.4 millions | 1.5G |
20 MB | 2.9 millions | 1.9G |
40 MB | 8.7 millions | 2.5G |
If you wish to try importing large files, please increase your heap size accordingly. You can increase the heap size with JVM arguments:
gradle appRun -Dorg.gradle.jvmargs=-Xmx4g
modify the configurations of jetty-maven-plugin in pom.xml
<jvmArgs>-Xmx4096m</jvmArgs>
please refer to https://www.eclipse.org/jetty/documentation/9.4.x/jetty-maven-plugin.html