Magento admin grid add from and to search in admin grid
$this->addColumn("designer_id", array(
"header" => Mage::helper("Module")->__("User ID"),
"align" =>"right",
"width" => "50px",
'type' => 'currency',
"index" => "user_id",
));
'type' => 'currency', is used to search for integer or decimal type
$this->addColumn("created_date", array(
"header" => Mage::helper("Module")->__("Modified Date"),
"align" =>"center",
"width" => "100px",
'type' => 'datetime',
"index" => "mod_date",
));
'type' => 'datetime', is ued to seach date time range
$this->addColumn("designer_id", array(
"header" => Mage::helper("Module")->__("User ID"),
"align" =>"right",
"width" => "50px",
'type' => 'currency',
"index" => "user_id",
));
'type' => 'currency', is used to search for integer or decimal type
$this->addColumn("created_date", array(
"header" => Mage::helper("Module")->__("Modified Date"),
"align" =>"center",
"width" => "100px",
'type' => 'datetime',
"index" => "mod_date",
));
'type' => 'datetime', is ued to seach date time range
No comments:
Post a Comment