"
formData =[
{type:“settings”, labelWidth:50, inputWidth:200},
{type:“block”, width:980, list:[
{type:“input”, label:“Input1”, name:“input1”},
{type:“newcolumn”, offset:40},
{type:“input”, label:“Input2”, name:“input2”}
]},
{type:“container”, name:“myGrid”, inputWidth:970, inputHeight:240},
{type:“block”, width:980, offsetTop:10 ,list:[
{type:“button”, value:“서버 파일 선택”, name:“btnChooseFile”},
{type:“newcolumn”, offset:600},
{type:“button”, value:“전송하기”, name:“btnSend”},
{type:“newcolumn”, offset:20},
{type:“button”, value:“닫기”, name:“btnClose”},
]},
];
myForm = new dhtmlXForm("griddiv", formData);
myGrid = new dhtmlXGridObject(myForm.getContainer("myGrid"));
myGrid.setImagePath("./resources/codebase/imgs/");
myGrid.setHeader("Object name,Title,File path,Local,Remove");
myGrid.setInitWidths("150,200,*,60,60");
myGrid.setColAlign("center,center,left,center,center");
myGrid.setColTypes("ro,ro,ro,ro,ro");
myGrid.submitOnlyChanged(false);
myGrid.init();
"
my Code…
if i do send method, grid text doesn’t go server…
“myForm.send(“upload.do”, “post”);”
sending data is only input box text…
using js is…