Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 02, 2009 02:34
open dhtmlx forum
error when using the dhtmlxconnector_php file used


when i am using this code for combobox filteration then it gives me error

$filter1 = new OptionsConnector($res);
    $filter1->render_table("countries","country_id","country_name(value)");
    $grid->set_options("item_nm",$filter1);

    $grid->render_table("grid50","item_id","item_nm,item_cd");


erroor:- class openconnection not found it give me error

i am using dhtmlxconnector_php/samples/grid/05a_select_filter.html



and if i am using the below code
$grid->set_options("item_nm",array("1","two","3"));
    $grid->render_table("grid50","item_id","item_nm,item_cd");

the it gives me error

call to undefined methiod gridConnector::set_Options()

please repy me whicj js file we will used so this errror must be gone now currently i ma using grid_connector.php files
Answer posted by dhxSupport on Dec 02, 2009 03:16
Please check if you are using latest version of dhtmlxConnectors (0.95). set_options() method is available only since dhtmlxConnectors 0.95