Some databases like MySQL allow to enclose the name of the fields, table names or database names, by using a special character, for example ` the character
It is now possible to condition the style of certain records giving them another output format, as easy as define the conditions that must be fulfilled.
Allowed values:
condition
:
String, conditional statement.
Example of use:
Atention: It is possible to use any field used within the grid, simply type the field name between [' ... ']
This property complements the use of condition property, in this property are defined the styles to display the records that meet the specified condition.
If you want to limit the editing records only those who meet certain conditions, use the following property to define the condition that must be fulfilled.
Allowed values:
conditionEdit
:
String, conditional statement.
Example of use:
Atention: It is possible to use any field used within the grid, simply type the field name between [' ... ']
If you want to limit the deleting records only those who meet certain conditions, use the following property to define the condition that must be fulfilled.
Allowed values:
conditionDelete
:
Example of use:
Atention: It is possible to use any field used within the grid, simply type the field name between [' ... ']
phpMyDataGrid allows to end user to modify the amount of records per page to display, if you don't like to allow the user to do that, set this property to false
By default, phpMyDataGrid is rendered at the end of the script execution, but if this property is changed to true, then the HTML code will be returned as value to be stored in a variable.
It allows the developer to control the position of the buttons New / Search / Export, by not displaying them directly on the grid, but allows to be positioned in any section of your website.
Allowed values:
getMyOwnButtons
:
Boolean. Default: false
Example of use:
Atention: Note: To function, property retcode must be set to true.
This property is a vector that contains the descriptive texts to be used in the Datagrid, changing their values, you'll customize the datagrid to use your own texts