PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TActiveEditCommandColumn

TActiveEditCommandColumn class

TActiveEditCommandColumn contains the Edit command buttons for editing data items in each row.

TActiveEditCommandColumn will create an edit button if a cell is not in edit mode. Otherwise an update button and a cancel button will be created within the cell. The button captions are specified using setEditText EditText, setUpdateText UpdateText, and setCancelText CancelText.

This is the active counterpart to the TEditCommandColumn control. The buttons for interaction are replaced by active buttons.

Please refer to the original documentation of the TEditCommandColumn for usage.

TComponent
Extended by TApplicationComponent
Extended by TDataGridColumn
Extended by TEditCommandColumn
Extended by TActiveEditCommandColumn
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2009 LANDWEHR Computer und Software GmbH
License: http://www.pradosoft.com/license/
Author: LANDWEHR Computer und Software GmbH <programmierung@landwehr-software.de>
Since: 3.1.9
Located at Web/UI/ActiveControls/TActiveDataGrid.php
Methods summary
protected mixed
# createButton( string $commandName, string $text, boolean $causesValidation, string $validationGroup )

Creates a button and initializes its properties. The button type is determined by getButtonType ButtonType.

Creates a button and initializes its properties. The button type is determined by getButtonType ButtonType.

Parameters

$commandName
string
command name associated with the button
$text
string
button caption
$causesValidation
boolean
whether the button should cause validation
$validationGroup
string
the validation group that the button belongs to

Returns

mixed
the newly created button.

Overrides

TEditCommandColumn::createButton()
Methods inherited from TEditCommandColumn
getButtonType(), getCancelImageUrl(), getCancelText(), getCausesValidation(), getEditImageUrl(), getEditText(), getUpdateImageUrl(), getUpdateText(), getValidationGroup(), initializeCell(), setButtonType(), setCancelImageUrl(), setCancelText(), setCausesValidation(), setEditImageUrl(), setEditText(), setUpdateImageUrl(), setUpdateText(), setValidationGroup()
Methods inherited from TDataGridColumn
formatDataValue(), getAllowSorting(), getDataFieldValue(), getEnableCellGrouping(), getFooterRenderer(), getFooterStyle(), getFooterText(), getHeaderImageUrl(), getHeaderRenderer(), getHeaderStyle(), getHeaderText(), getID(), getItemStyle(), getOwner(), getSortExpression(), getViewState(), getVisible(), initialize(), initializeFooterCell(), initializeHeaderCell(), loadState(), saveState(), setEnableCellGrouping(), setFooterRenderer(), setFooterText(), setHeaderImageUrl(), setHeaderRenderer(), setHeaderText(), setID(), setOwner(), setSortExpression(), setViewState(), setVisible()
Methods inherited from TApplicationComponent
getApplication(), getRequest(), getResponse(), getService(), getSession(), getUser(), publishAsset(), publishFilePath()
Methods inherited from TComponent
__call(), __construct(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO