Closed intotheweb101 closed 4 years ago
Hi I am wanting to add GridFieldOrderableRows to Variations on a Product, Code I have at the moment is
$gridField->getConfig()->addComponent($sort = new GridFieldOrderableRows('Sort'));
Happy to make a pull request to add this in or if this is not something you want in the base just add a hook to update the cms fields
Yep feel free to add a PR to add the sortable behaviour and the sort field which I believe we don't have currently on the data object
@wilr pull request logged #746
Hi I am wanting to add GridFieldOrderableRows to Variations on a Product, Code I have at the moment is
$gridField->getConfig()->addComponent($sort = new GridFieldOrderableRows('Sort'));
Happy to make a pull request to add this in or if this is not something you want in the base just add a hook to update the cms fields