Also take grid border width into account - should help with nm width in Firefox.

See d290485058
This commit is contained in:
nathangray 2016-05-18 13:56:29 -06:00
parent 8789d8d944
commit 2ffcdf5dc9

View File

@ -163,6 +163,9 @@ var et2_dataview = (function(){ "use strict"; return Class.extend({
{
this.width = _w;
// Take grid border width into account
_w -= (this.table.outerWidth(true) - this.table.innerWidth());
// Take grid header border's width into account. eg. category colors may add extra pixel into width
_w = _w - (this.thead.find('tr').outerWidth() - this.thead.find('tr').innerWidth());