PHP code example of nathancox / versionedgridrows

1. Go to this page and download the library: Download nathancox/versionedgridrows library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nathancox / versionedgridrows example snippets


$gridFieldConfig->addComponent(new VersionedGridRows('Title'));

$summary_fields = array(
	'VersionedTitle' => 'Title'
);

...

public function VersionedTitle()
{
	return VersionedGridRows::get_column_content($this, $this->Title);
}