Placing Button in specific cell in dynamicForm

Hi all,

Have been stumped on this and can’t seem to find anything on the forum. Im trying to get the Save Item button in cells next to the Category ID. It always seems to drop the button onto the new line . If i remove editorType:“button” it places it in the correct place.

Any suggestions?

DynamicForm code

isc.DynamicForm.create({
    ID:"addForm",
    dataSource:"skillsListDB",
    useAllDataSourceFields:false,
    fields:[
		{name:"skill_name",title:"Skill Name",canEdit:false,titleAlign:"left"},
        {name:"rating",title:"Rating",canEdit:true,editorType: "select", optionDataSource:"ratingData", displayField:"rating_id", valueField:"rating_value",titleAlign:"left"},
		
		{name:"skill_name_id",title:"Skill ID",canEdit:false,titleAlign:"left"},
		{name:"duration",title:"Years Experiance",canEdit:true,titleAlign:"left"},
		
		{name:"skill_category_name",title:"Skill Category",canEdit:false,titleAlign:"left"},
		{name:"year_last_used",title:"Year Last Used",canEdit:true,editorType: "select", optionDataSource:"yearsData", displayField:"date_id", valueField:"date_value",titleAlign:"left"},
		
		{name:"skill_category_id",title:"Category ID",canEdit:false,titleAlign:"left"},
		{name:"savebtn",  title:"Save Item", click:"addForm.saveData()", titleAlign:"left",editorType:"button"}

    ],
    width:650,
    numCols:4,
    colWidths:[120,180,140,160],
    cellBorder:"5",
    margin:25,
    cellPadding:5,
    autoFocus:false
});

Set startRow:false. See the Form Layout overview.

Can’t believe i missed that. I read through http://www.smartclient.com/docs/6.5.1/a/b/c/go.html#class..FormItem twice and still missed it.

Thanks again

We’ll add <blink> tags.

Kidding of course..