GridFactory::RelationBulkUploadGrid
<p> Returns a new GridField instance preconfigured with GridFieldConfig_RelationEditon, GridFieldAddExistingSearchButton and GridFieldOrderableRows.
</p> <p> Allows to search for existing records to add to the relationship, detach listed records from the relationship (rather than removing them from the database), and automatically add newly created records to it. </p>
Signature
public function RelationBulkUploadGrid(string
$name,
[string
$title = NULL,
[SS_List
$dataList = NULL,
[
$fileRelationName = NULL,
[
$folderName = NULL]]]] )
Parameters
$name
— string$title
— string$dataList
— SS_List
$fileRelationName
—$folderName
—
Returns
- GridField