Prado\Web\UI\WebControls\TDataGridColumn::loadState PHP Method

loadState() public method

Loads persistent state values.
public loadState ( $state )
    public function loadState($state)
    {
        $this->_viewState = $state;
    }

Usage Example

Example #1
0
 /**
  * Loads items from viewstate.
  * This method overrides the parent implementation by loading list items
  * @param mixed state values
  */
 public function loadState($state)
 {
     parent::loadState($state);
     $this->_stateLoaded = true;
     if (!$this->_dataBound) {
         $this->_listControl->getItems()->loadState($this->getViewState('Items', null));
     }
 }