now if i want to add some link or button in cell. i can use this way
loadComplete: function(){
var ids = jQuery("#rowed2").getDataIDs();
for(var i=0;i《ids.length;i++){
var cl = ids;
ce = "《input style='height:22px;width:20px;' type='button' value='C' onclick=jQuery('#rowed2').restoreRow("+cl+"); /》";
jQuery("#rowed2").setRowData(ids,{act:be+se+ce})
}
}
but I think it is not convenient, efficient not good.
can we add display type to control the type of show.
like edit type
{name:’stock’,index:’stock’, width:60, editable: true,edittype:”checkbox”,editoptions: {value:”Yes:No”}}
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top