Editable and delete row in grid
$name = "obj";
// SQL query
$query = "select * from `xxx`.`bu_group1`";
// database connection
$connection = mysql_connect("abcd", "root", "xyz");
// query results
$data = mysql_query($query, $connection);
echo activewidgets_grid($name, $data);
from the above script how to edit and delete a row
For edition update the query with IF statement to replace the field value to your desired value.
hope it helps.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.