Dear Sir/Madam,
After adding below script and execute the .php, I got popup window say
"Length of colNames <> colModel!", what does it mean? I tried to specify a specific column to be editable and readable only.
$col = array();
$col["name"] = "city";
$col["editable"] = true;
$cols[] = $col;
$g->set_columns($cols);
$col = array();
$col["name"] = "state";
$col["editable"] = false;
$cols[] = $col;
$g->set_columns($cols);
Is the above code correct? Or where I can find the sample.
Best regards,
Kelvin.
1 Answers
Your Answer