Hello there, I have a very stange problem. I have a grid and a combo cell with it is populated with dhtmlxconnector. Everything working ok but some times the grid shows the labels and some other times shows the values. You can see my code below.
Thanks a lot.
tasklist = new dhtmlXGridObject(‘tasks_grid_div’);
tasklist.setImagePath(“<?= base_url() ?>assets/dhtmlx/imgs/”);
tasklist.setHeader(" ,Εργασία,Λοιπά,parent,Ημ/νία,Σημειώσεις,Υπεύθυνος,Ενέργeιες");
tasklist.setInitWidths(“40,*,0,0,100,100,170,100”);
tasklist.setColAlign(“left,left,right,left,left,left,left,left”);
tasklist.setColTypes(“ch,tree,ro,ro,dhxCalendar,txt,combo,ro”);
tasklist.setColSorting(“str,str,str,str,date,str,str,str”);
tasklist.setColumnMinWidth(160, 1);
tasklist.enableMultiselect(true);
tasklist.enableAutoHeight(false);
tasklist.init();
tasks_users = tasklist.getColumnCombo(6);
tasks_users.enableFilteringMode(‘between’);
tasks_users.allowFreeText(true);
tasks_users.load(“<?= base_url() ?>projects/getUsersForExpenses”);
tasklist.setSkin(“material”);
tasklist.load(“<?= base_url() ?>projects/task_TreeGrid_taskView/<?=$details[0]->id?>”);
var dp_tasklist = new dataProcessor(“<?= base_url() ?>projects/task_TreeGrid_taskViewDP/<?=$details[0]->id?>”);
dp_tasklist.init(tasklist);
tasklist.attachEvent(“onEditCell”, function (stage, rId, cInd, nValue, oValue) {
$(“.dhx_combo_edit”).attr(“placeholder”, “Γράψτε ένα όνομα εργασίας”);
return true;
});