$listitem->Attributes->Group="Group Name";
or in template
Show file
Open project: pradosoft/prado
Class Usage Examples
Method | Description | |
---|---|---|
getDataChanged ( ) : boolean | Returns a value indicating whether postback has caused the control data change. | |
getIsValid ( ) : boolean | Returns true if this control validated successfully. | |
getRows ( ) : integer | ||
getSelectionMode ( ) : |
||
getValidationPropertyValue ( ) : mixed | Returns the value to be validated. | |
loadPostData ( $key, $values ) : boolean | Loads user input data. | |
onPreRender ( $param ) | Registers the list control to load post data on postback. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
setIsValid ( $value ) | ||
setRows ( $value ) | ||
setSelectionMode ( $value ) |
Method | Description | |
---|---|---|
addAttributesToRender ( $writer ) | Adds attribute name-value pairs to renderer. | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getIsMultiSelect ( ) : boolean |
protected addAttributesToRender ( $writer ) |
protected getClientClassName ( ) : string | ||
return | string | the javascript class name |
public getDataChanged ( ) : boolean | ||
return | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
protected getIsMultiSelect ( ) : boolean | ||
return | boolean | whether this control allows multiple selection |
public getIsValid ( ) : boolean | ||
return | boolean | wether this control validated successfully. |
public getSelectionMode ( ) : |
||
return | the selection mode (Single, Multiple). Defaults to TListSelectionMode::Single. |
public getValidationPropertyValue ( ) : mixed | ||
return | mixed | the value of the property to be validated. |
public loadPostData ( $key, $values ) : boolean | ||
return | boolean | whether the data of the component has been changed |
public onPreRender ( $param ) |
public raisePostDataChangedEvent ( ) |