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

Cannot prevent user to rename a sheet with disableUserAction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.8.0
    • 3.5.0, 3.6.0, 3.7.0
    • ZSS Component
    • Security Level: Jean
    • JBoss 6.2

      Steps to Reproduce

      1. disable "rename sheet" with the code below
        @Override
        public void doAfterCompose(Component comp) throws Exception { Spreadsheet ss = (Spreadsheet) comp; ss.disableUserAction(AuxAction.RENAME_SHEET, true)}
      2. double click in sheet bar

      Actual Result

      Allows users to rename sheets.

      it works fine with context menu. "Rename" option appears unable.

            JerryChen JerryChen
            LeonardoRosa LeonardoRosa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: