I am new to dojo, and I am trying to put some buttons into a datagrid cell. I read the docs and succeed to put one button into the grid using formatter:
{
name: "oper",
field: "id",
type: dojox.grid.cells._Widget,
editable: false,
formatter: function(id){
return new Button({
label:"oper",
onClick: function(){
oper(id);
}
});
}
}
My question is how to put two or more than two buttons into the cell. Thx very much.