Editor appears after Checkbox is checked

Hello,

maybe someone could help me. I’ve already created a grid with some checkboxes in it. I want, that if the user checks the checkbox a textbox or editor appears where some text can be put in.

I’ve tried, but it does not work.

my JS Code looks like that:

grid.attachEvent("onCheck", function (rid, ind, state) {

    if (state === 1) {
        grid.cells(rid, ind).= new dhtmlXEditor("div_main");
        Editor.show();
    }
    else if (state === 0) {
        grid.attachEditor = false;
    }
}
);

Thank you!

Unfortunately such functionality is not supported in the dhtmlxGrid.
You may only try to create your own custom column type to integrate the dhtmlxEditor withe the dhtmlxGrid.
Here you can find a tutorial about creating custom column types:
docs.dhtmlx.com/grid__columns_t … olumntypes