3.2.0

Editable and delete row in grid

// grid object name
$name = "obj";

// SQL query
$query = "select * from `xxx`.`bu_group1`";

// database connection
$connection = mysql_connect("abcd", "root", "xyz");
mysql_select_db("xxx");

// query results
$data = mysql_query($query, $connection);


echo activewidgets_grid($name, $data);


from the above script how to edit and delete a row
array
March 4,
For deletion of fields use the field names instead of * in the query

For edition update the query with IF statement to replace the field value to your desired value.

hope it helps.

Ramesh
Ramesh CV
March 4,

This topic is archived.

See also:


Back to support forum