I'm trying to create a basic drop down for a column, using:
$dg -> set_col_edittype("CallCenterName", "select", "select CallCenterID, CallCenterName from CallCenter", false);
The page will render, but I get the following:
Notice: Undefined offset: 0 in C:inetpubwwwrootphpGridserverclassescls_datagrid.php on line 3176
Notice: Undefined offset: 1 in C:inetpubwwwrootphpGridserverclassescls_datagrid.php on line 3176.
If I click on the drop down that gets created, it is blank.
The datagrid object looks like this:
[9] => Array
(
[autoResizable] =>
[name] => CallCenterName
[index] => CallCenterName
[hidden] =>
[headerTitle] => CallCenterName
[width] => 80
[edittype] => select
[editable] => 1
[formatter] => select
[stype] => select
[searchoptions] => Array
(
[sopt] => Array
(
[0] => eq
)
[value] => :All;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:
)
[editoptions] => Array
(
[value] => :;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:
)
[editrules] => Array
(
[edithidden] =>
[required] =>
)
)
I don't know what I am missing in order to get a basic drop down to work. Any help would be appreciated.
This API is not supported by our product.
You can try checking this website: http://www.phpgrid.com