Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.8.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      zss server has fixed max visible row and column. Users can only change it by modifying a zul inside class path which is very inconvenient and impractical.

      Proposed function

      • A menu item that can set max visible row or column.
      • The setting is saved and restored after server restarts.
      • (Advanced) ZSS sets its max row and column automatically by detecting file content

        Activity

        Hide
        hawk hawk added a comment - - edited

        Workaround

        Modify maxrows and maxcolumns in the zul

        <spreadsheet id="ss" hflex="1" vflex="1" maxrows="200" maxcolumns="40".../>
        

        Path of the zul

        Windows

        c:/Users/[USER-NAME]/ZK Spreadsheet Server/zk-spreadsheet-server-war/webapp/WEB-INF/classes/web/zssapp/index.zul

        Mac

        /Users/[USER-NAME]/ZK Spreadsheet Server/zk-spreadsheet-server-war/webapp/WEB-INF/classes/web/zssapp/index.zul

        Show
        hawk hawk added a comment - - edited Workaround Modify maxrows and maxcolumns in the zul <spreadsheet id= "ss" hflex= "1" vflex= "1" maxrows= "200" maxcolumns= "40" .../> Path of the zul Windows c:/Users/ [USER-NAME] /ZK Spreadsheet Server/zk-spreadsheet-server-war/webapp/WEB-INF/classes/web/zssapp/index.zul Mac /Users/ [USER-NAME] /ZK Spreadsheet Server/zk-spreadsheet-server-war/webapp/WEB-INF/classes/web/zssapp/index.zul
        Hide
        henrichen henrichen added a comment - - edited

        Create a new feature for "(Advanced) ZSS sets its max row and column automatically by detecting file content" (see ZSS-1084).

        Show
        henrichen henrichen added a comment - - edited Create a new feature for "(Advanced) ZSS sets its max row and column automatically by detecting file content" (see ZSS-1084 ).
        Hide
        henrichen henrichen added a comment -

        1. Have added two buttons at the right-bottom corner that you can used to increase the visible columns and rows.
        2. You can use two new attributes in spreadsheet component, showAddColumn and showAddRow, to show/hide these two buttons. The default value for both attributes are true; i.e., show the two buttons.

            <spreadsheet showAddColumn="true" showAddRow="true" .../>
        

        3. Now if you did not initialize the maxVisibleRows and maxVisibleColumns or initialize them to zero, ZK Spreadsheet would decide those two values automatically by detecting the sheet's content. However, the minimum size of the sheet would be at least 200 rows x 40 columns(A ~ AN). That is, a blank sheet would be 200 rows x 40 columns if you did not initialize the maxVisibleRows and maxVisibleColumns attibutes.

        Show
        henrichen henrichen added a comment - 1. Have added two buttons at the right-bottom corner that you can used to increase the visible columns and rows. 2. You can use two new attributes in spreadsheet component, showAddColumn and showAddRow , to show/hide these two buttons. The default value for both attributes are true ; i.e., show the two buttons. <spreadsheet showAddColumn= "true" showAddRow= "true" .../> 3. Now if you did not initialize the maxVisibleRows and maxVisibleColumns or initialize them to zero, ZK Spreadsheet would decide those two values automatically by detecting the sheet's content. However, the minimum size of the sheet would be at least 200 rows x 40 columns(A ~ AN). That is, a blank sheet would be 200 rows x 40 columns if you did not initialize the maxVisibleRows and maxVisibleColumns attibutes.
        Hide
        henrichen henrichen added a comment -

        Done.

        Show
        henrichen henrichen added a comment - Done.

          People

          • Assignee:
            henrichen henrichen
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: