Hello Abu,
Finally to performance in project, there are three cols: Id – name – quantity (9 for example).
Then i would like to use select form in line grid to generate array from one to n quantity in DB table column.
As this: http://jsfiddle.net/3kcvm/
Thank you
3 Answers
Please share screenshot explaining your question. I don’t understand your query completely.
For example, this work for pure PHP, how to implement it in phpgrid:
$con = new mysqli("localhost","*****","","******");
$sql = "select * from person";
$query = $con->query($sql);
$data = array();
while($r=$query->fetch_object()){
$data[] =$r;
}
You can refer
Code: http://phpgrid.org/demo/demos/loading/load-array.phps
It uses php array to load datagrid.
Your Answer