I have to save value in custom_attribute(current_seller_id) in "sales_order" table. using event below code But now i want to save same value in custom_attribute(current_seller_id) of "sale_order_grid" table. am new in magento guide me which observer or anything used for copy data from sales_order table to sales_order_grid.
public function execute(\Magento\Framework\Event\Observer $observer)
{
$order = $observer->getData('order');
$quote = $observer->getData('quote');
// $cartdata=$this->cart->getQuote()->getItemsCollection();
$quoteItems = $quote->getItems();
foreach ($quoteItems as $quoteItem){
if ($quoteItem->getCurrentSellerId() != ""){
$items[]=$quoteItem->getCurrentSellerId();
}
}
$seller_ids=implode(',',$items);
$order->setCurrentSellerId($seller_ids);
return $this;
}