Sorry ,the first question i’ve sent to you have a problem. My email i filled in is wrong. Sorry again for bothering you.
Hi. I has just worked with new version of dhtml connector. Combobox is a great feature which you added.
But when testing it, i discovered something very interesting.
When loading dhtmlxgrid with a table has 2 comlumns, and both their type is “co”, it will working well.
But when set 1 type is different “co” and 1 left is “co”, the one set “co” won’t load data from server in combobox.
This is your example:
File 06a_combo.html
For demo purpose only :: &1
And this is 06a_combo_connector.php file:
<?php
require_once("…/config.php");
$res=mysql_connect($mysql_server,$mysql_user,$mysql_pass);
mysql_select_db($mysql_db);
require("…/…/codebase/grid_connector.php");
$grid = new GridConnector($res);
$grid->enable_log(“temp.log”,true);
$grid->dynamic_loading(100);
/$filter1 = new OptionsConnector($res);
$filter1->render_table(“countries”,“item_id”,“item_id(value),item_nm(label)”);
$grid->set_options(“item_nm”,$filter1);*/
$grid->set_options(“item_nm”,array(“1”,“two”,“3”));
$grid->set_options(“item_cd”,array(“91”=>“one”, “75”=>“two”));
$grid->sql->set_transaction_mode(“record”);
$grid->render_table(“grid50000”,“item_id”,“item_nm,item_cd”);
?>
I don’t know it’s my mistake or your problem. Can you test it again, please.
Thanks for your great work.