Dhtmlx form having multiple select buttons

Hi,
My dhtmlx form contains more than one select boxes.
The problem arises here is i have to populate my both select boxes from db.
so that am using two connector files using java connector. So in order to syncrze my requests i want any java script methods to load my select boxes rather than existing connector:" url".
If their is any any java script method like loadOptions() i can use that in event handling so that i can syncronize my requests. so, i am hoping that you people can u help in solving my problem.

please reply me as fast as possible.

Thank u.

Hi
There is no native methods, but you can try to use something by analogy with attached sample
14.04.18.rar (131 KB)

Hi,
Thank u Darya for ur reply but i want to get values from database for more than two select box in a single form and it is giving an error like cannot cal reset method in outputWritter class.
What i understood from the error is i need to syncronize my response object by requesting server one by on using event handling like this which i did for loading two grids in a same page.
Grid1.load("/PIS_INTELLIMACH/GetCgdbAgdbPdbDisplayDetails");

Form1.attachEvent(“onXLE”, function(grid_obj){
Grid2.load("/PIS_INTELLIMACH/GetCgdbAgdbPdbDisplayDetails");
});
Here, grid has a native method Load so that i can solve that using event handling.

But how can i solve my problem for select or combo which has no native methods?

Is it restricted that we can load only one one select box can be loaded from database ???
please rply me as fast as possible.
Thank u.

Hi,
My form looks like this
var str = [
{type: “settings”, labelWidth: 80, inputWidth: 250, position: “absolute”},
{type: “input”, name: “DisplayName”, label: “DISPLAY NAME”, labelWidth: 100, inputWidth: 100, labelLeft: 5, labelTop: 5, inputLeft: 5, inputTop: 21},
{type: “combo”, name: “Native_Address”, label: “DISPLAYADDRESS”, labelWidth: 100, inputWidth: 100, labelLeft: 125, labelTop: 5, inputLeft: 125, inputTop: 21, connector:"/PIS_INTELLIMACH/ComboOptions"},
{type: “combo”, name: “Type”, label: “TYPE”, labelWidth: 100, inputWidth: 100, labelLeft: 250, labelTop: 5, inputLeft: 250, inputTop: 21,connector:"/PIS_INTELLIMACH/ComboOptions2},
{type: “combo”, name: “LineCount”, label: “LINE COUNT”, labelWidth: 100, inputWidth: 100, labelLeft: 375, labelTop: 5, inputLeft: 375, inputTop: 21},
{type: “combo”, name: “InfoType”, label: “INFO TYPE”, labelWidth: 100, inputWidth: 100, labelLeft: 500, labelTop: 5, inputLeft: 500, inputTop: 21},
{type: “combo”, name: “ArrowPosition”, label: “ARROWPOSITION”, labelWidth: 100, inputWidth: 100, labelLeft: 5, labelTop: 75, inputLeft: 5, inputTop: 96},
{type: “combo”, name: “Position”, label: “POSITION”, labelWidth: 100, inputWidth: 100, labelLeft: 125, labelTop: 75, inputLeft: 125, inputTop: 96},
{type: “combo”, name: “SwitchingDelay”, label: “SWITCHINGDELAY”, labelWidth: 100, inputWidth: 100, labelLeft: 250, labelTop: 75, inputLeft: 250, inputTop: 96},
{type: “combo”, name: “PlatformNumber”, label: “PLATFORMNUMBER”, labelWidth: 100, inputWidth: 100, labelLeft: 375, labelTop: 75, inputLeft: 375, inputTop: 96},
{type: “button”, name: “Add”, label: “ADD”, value: “ADD”, width: “110”, inputWidth: 100, inputLeft: 75, inputTop: 150},
{type: “button”, name: “Modify”, label: “MODIFY SELECTION”, value: “MODIFY SELECTION”, width: “110”, inputWidth: 100, inputLeft: 200, inputTop: 150},
{type: “button”, name: “Delete”, label: “DELETE SELECTION”, value: “DELETE SELECTION”, width: “110”, inputWidth: 100, inputLeft: 325, inputTop: 150}
];
here from this form i am sending request to two different java Connector classes.
Cant i do this?
Waiting for ur reply.
Thank u.

Hi,
In my above form am sending request to load values from database to two different combo boxes from two different java combo connector classes.
Am i restricted to do this?

Hi

Not sure I understand exactly what you mean. Could you please provide step-by-step description, like:

  1. I have form, this form have two combos
  2. I need to load data into combo2 depending on selected value in combo1
  3. for this I’m using the following approach …
  4. finally combo not works as I need, it work in … way bu I need … way

Something like.