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

Keep selection box visible even when spreadsheet losing focus

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Normal
    • 3.8.1
    • 3.7.0
    • None
    • Security Level: Jimmy
    • None

    Description

      In Excel, users can always see their selection box no matter which dialog they open like

      If users want to implement similar dialog under current design, the selection box will disappear when users move focus to a input component in a dialog.

      Workaround

      <script type="text/javascript"><![CDATA[
      zk.afterLoad('zss', function() {
          var old = {};
      	zk.override(zss.DataPanel.prototype, old, {
      		_doFocusLost: function() {
      	        var a = this.sheet;
      	        a.state = zss.SSheetCtrl.NOFOCUS;
      	        a.hideCellFocus();
      	        //a.hideCellSelection();
      	        a.animateHighlight(false);
      	        a._wgt.fire("onBlur")
              }
         });
      });	
      		
      ]]></script>	
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: