Hi,
I have a MySQL table “store_record”. I have connected a grid with PHP Connector for MySQL.
Records are perfectly updating. I just want to add another column in grid with calculated total as “Store Total” from MySQL fields “Price” and “Quantity” without adding another field in MySQL table.
Javascript
storeGrid.setHeader("ID, Item Code, Price, Quantity, Store Total, Status");
PHP
$gridConn->render_table("store_record","id","id, iterm_code, price, quantity, status);