DHTMLX Docs & Samples Explorer

Excell API -Inner Methods

The methods given below are low-level setters, they are not supposed to be used directly (they can be used by higher-level methods or can be redefined to get custom functionality):

    <script>
        obj.edit(); // switches the cell to the edit state (must not be called directly)
        obj.detach(); // switches the cell to the normal state (must not be called directly)
        obj.changeState(); // changes the state of the ch|ra cell (checked|unchecked)
 
        obj.setCValue(formated_val,real_val); // sets the content of the cell (HTML text)
        obj.setCTxtValue(formated_val,real_val); // sets the content of the cell (pure text) 
    </script>
 

The parameters of two last methods are as follows:

  • formated_value - the value as it will be rendered;
  • real_value - optional, the value that will be accessed by grid events.