We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have been importing a dataset that looks like this:
However unless I add a further column to the right:
The latitude column doesn't get imported into any records. Using the original ModelAdmin importer works fine with the same dataset...
The class looks like this
class Area extends DataObject { static $db = array( 'Town' => 'Text', 'County' => 'Text', 'PostCode' => 'Text', 'Longitude' => 'Text', 'Latitude' => 'Text', 'Sort' => 'Int' );
So nothing scary there and the import is added to a Page getCMSFields gridfield like this:
$fields->addFieldToTab('Root.Areas', GridField::create('Areas', 'Areas we cover', $this->Areas(), $gfc = GridFieldConfig_RelationEditor::create())); $gfc->addComponent(new GridFieldOrderableRows('Sort')); $importer = new GridFieldImporter('before'); $gfc->addComponent($importer);
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have been importing a dataset that looks like this:
However unless I add a further column to the right:
The latitude column doesn't get imported into any records. Using the original ModelAdmin importer works fine with the same dataset...
The class looks like this
So nothing scary there and the import is added to a Page getCMSFields gridfield like this:
Any ideas?
The text was updated successfully, but these errors were encountered: