Reputation: 1
`cellattr : dashboardView.handleColSpan
handleColSpan : function(rowId, value, rowObject, colModel, arrData) {
var pos = Utils.getInt(rowId.replace('jqg', ''));
// var pos = Utils.getInt(rowId);
if (!isNaN(pos) && (pos % 8 === 1) && Utils.isNotBlank(value)){
// if ((pos === 1 && Utils.isNotBlank(value))) {
return 'colspan=2';
} else if (!isNaN(pos) && (pos % 8 === 1)) {
return " style=display:none; ";
} else {
return "";
}
}
this code is working find. But when it interact with grid file, the colspan is not getting added to the table cell
Renewal like this the colspan should be added`Upvotes: 0
Views: 25