dhtmlXGridComboObject in Grid -- Configure via js

I am implementing a dhtmlx grid, with a column which is of type “combo”. I am NOT using an XML configuration, since to be honest thats kind of old school, json makes much more sense for my purposes. Is it possible to configure the combo options within the JS for example before the “init” of the grid. I did a lot of research and saw that with a dhtmlXComboObject there is an “addOption” method but when I attempt to use that method with the grid object, i get undefined method. Perhaps I need to also include the dhtmlXComboObject script or something. ANy thoughts?


dhtmlx.com/docs/products/dht … combo.html
you can find a working example with the list of needed js/css files:

If issue still occurs - please, provide any kind of sample of your code.

That doesn’t answer my question, because that is still loading configuration from xml. I found the answer by figuring it out:

var opts= {
	1_value: opt_1_text,
            2_value: opt_2_text,
            3_value: opt_3_text

mygrid = new dhtmlXGridObject({
parent: ‘grid_id’,
columns: [
label: “Col Title”,
type: “co”,
options: opts,

2nd off, I want to say this site has horrible documentation and sample. I can’t remember but one of the samples in the initialization section, i c and p’ed directly into a test html and file and it was failing. I had to figure out everything via trial and error, normal coding but I would expect from a license plugin there be extensive and comprehensive documentation and samples. No one wants to use XML to initialize data tables any more.

Can you please post a bit more elaborated code, i am facing the same issue.