This commit is contained in:
@@ -905,9 +905,16 @@ ADSScroll = function (tablescroll) {
|
||||
//tablescroll.before(objDiv);
|
||||
//objDiv.append(tablescroll);
|
||||
if (firsttr) {
|
||||
let childitem = firsttr.find('> td,th').length;
|
||||
let contador =1
|
||||
firsttr.find('> td,th').each(function () {
|
||||
var thistd = $(this);
|
||||
trWwidth.append($('<td><div style="width:' + thistd.width() + 'px;"></br></div></td>'))
|
||||
let widthitem = thistd.width();
|
||||
if ((childitem == contador) && widthitem > 0) {
|
||||
widthitem = widthitem - 10;
|
||||
}
|
||||
trWwidth.append($('<td><div style="width:' + widthitem + 'px;"></br></div></td>'));
|
||||
contador++;
|
||||
});
|
||||
}
|
||||
//objDiv.before(tablescroll);
|
||||
|
||||
Reference in New Issue
Block a user