Hi there,
now, i have a new problem.
I want to add a row by pressing enter or tab or click on the normal addRow- Button in my grid.
In this row i want to focus automaticly the second “ed” field, when the field is != ‘’ then it should add it in my database, read the new id out and add a new row.
If the user dont add any entrys in the “ed” then should it be ignored.
this is my source htm file:
and this is my source php file
<?php
require_once("…/…/…/…/…/etc/mysql.php");
$res=mysql_connect(DAB_HOST,DAB_USER,DAB_PASS);
mysql_select_db(DAB_DBAS);
require("…/…/…/…/…/opt/dhtmlx_connector/grid_connector.php");
$grid = new GridConnector($res);
#$grid->enable_log(“temp.log”,true);
$grid->dynamic_loading(50);
#$grid->render_table(“crm_data”,“id”,“id,company,street,zipcode,city,email,phone,fax”);
$grid->render_sql(“SELECT * FROM user WHERE status=0 OR status=1”, “id”,“id,name,email,date,session,status,login_error,login_error_fatal”);
?>
I’ll hope you can help.
Sry, for my english.
Best regards
Florian Banowski