发布v2.6.8版本
This commit is contained in:
7
mode/bootstrapplugin/jquery-bootstable.js
vendored
7
mode/bootstrapplugin/jquery-bootstable.js
vendored
@@ -205,7 +205,9 @@
|
||||
s1 = '<img height="20" width="20" src="images/checkbox'+val+'.png">';
|
||||
}else{
|
||||
s1 = val;
|
||||
if(ov[na+'_textcn'])s1 = ov[na+'_textcn'];
|
||||
}
|
||||
|
||||
if(typeof(a[i].renderer)=='function'){
|
||||
s3 = a[i].renderer(val, ov, j);
|
||||
if(!isempt(s3))s1=s3;
|
||||
@@ -227,6 +229,11 @@
|
||||
s3 = a[i].renderattr(val, ov, j);
|
||||
if(!isempt(s3))attr+=' '+s3+'';
|
||||
}
|
||||
|
||||
if(ov[''+na+'_color'])sty+='color:'+ov[''+na+'_color']+';';
|
||||
if(ov[''+na+'_style'])sty+=''+ov[''+na+'_style']+';';
|
||||
if(ov[''+na+'_title'])attr+=' title="'+ov[''+na+'_title']+'"';
|
||||
|
||||
s+='<td class="rock-table-td" align="'+a[i].align+'" '+attr+' style="'+sty+'" row="'+j+'" cell="'+i+'">'+s2+''+s1+'</td>';
|
||||
}
|
||||
s+='</tr>';
|
||||
|
||||
Reference in New Issue
Block a user