美文网首页
radioFormatter

radioFormatter

作者: 聚齐 | 来源:发表于2017-11-12 21:18 被阅读3次

functionradioFormatter(radio_name, radio_value, type) {

if(type =='formatter')

{

return function(cellvalue, options, rowObject) {

varelement_string ='';

for(varx in radio_value)

{

element_string +=""+ radio_value[x];

}

returnelement_string;

}

}

else

{

return function( cellvalue, options, cell){

return$(cell).find("input:radio:checked").val();

}

}

}






相关文章

  • radioFormatter

    functionradioFormatter(radio_name, radio_value, type) { i...

网友评论

      本文标题:radioFormatter

      本文链接:https://www.haomeiwen.com/subject/dsiomxtx.html