Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-242

set max rows dynamically doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0.0
    • 2.5.0
    • ZSS Component

      refer to zul code

      <zk>
      <intbox>
      <attribute name="onOK">
      int rows = self.getValue();
      System.out.println("set max rows: " + (ss.getMaxrows() + 50));
      ss.setMaxrows(ss.getMaxrows() + 50);
      </attribute>
      </intbox>
      <spreadsheet id="ss" maxrows="50" src="/xls/test.xlsx" height="100%" width="100%"></spreadsheet>
      </zk>

            paowang paowang
            samchuang samchuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: