webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

What is the difference between the column property hidden and renderable #152

Open MSIH opened 7 years ago

MSIH commented 7 years ago

I see that hidden get the attribute

hidden: (col.getAttribute("hidden") ? col.getAttribute("hidden") == "true" : false)

And renderable is used in these two places: `for (var j = 0; j < tr.cells.length && j < this.columns.length; j++) if (this.columns[j].renderable) this.columns[j].cellRenderer._render(rowIndex, j, tr.cells[j], this.getValueAt(rowIndex,j));

for (var j = 0; j < cols.length && j < columns.length; j++) if (columns[j].renderable) columns[j].cellRenderer._render(rowIndex, j, cols[j], getValueAt(rowIndex,j)); }`