Add some CSS during column resize to indicate which columns are fixed and which columns will change when you resize.

This commit is contained in:
Nathan Gray
2014-09-09 17:39:33 +00:00
parent 108d3a0f40
commit c33a71c5f7
3 changed files with 19 additions and 2 deletions

View File

@ -386,6 +386,11 @@ var et2_dataview = Class.extend({
.attr("align", "left")
.append(cont)
.appendTo(this.headTr);
if(this.columnMgr && this.columnMgr.columns[i])
{
column.addClass(this.columnMgr.columns[i].fixedWidth ? 'fixedWidth' : 'relativeWidth');
}
// make column resizable
var enc_column = self.columnMgr.getColumnById(col.id);