1
我在列中添加一個自定義文本框。但我無法獲取它的價值。 如何在magento admin的自定義網格中設置文本框的值?
我做了一些這種類型的編碼來顯示文本框。但問題是我如何設置文本框的值。
$html = '<input type="text" ';
$html .= 'name="' . $this->getColumn()->getId() . '" ';
$html .= 'id="' . $this->getColumn()->getId() . '" ';
$html .= 'value=""';
$html .= 'class="input-text ' . $this->getColumn()->getInlineCss() . '"/>';
我想你忘了添加腳本...我希望你做:) –
我做下同評論。但我想要的文本框值,我沒有得到,因爲它的自定義文本框。 – pranali