Keep selection box visible even when spreadsheet losing focus

XMLWordPrintable

    • Type: New Feature
    • Resolution: Done
    • Priority: Normal
    • 3.8.1
    • Affects Version/s: 3.7.0
    • Component/s: None
    • Security Level: Jimmy
    • None

      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>	
      

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

              Created:
              Updated:
              Resolved: