Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jquery.dynatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
return record[this.id];
};

function defaultAttributeReader(cell, record) {
function defaultAttributeReader(cell, record, column) {
return $(cell).html();
};

Expand Down Expand Up @@ -682,7 +682,7 @@
// retrieve the contents of this column for each record)
obj.domColumns.add(obj.domColumns.generate(), columns.length, false, true); // don't skipAppend, do skipUpdate
}
var value = columns[index].attributeReader(this, record),
var value = columns[index].attributeReader(this, record, columns[index]),
attr = columns[index].id;

// If value from table is HTML, let's get and cache the text equivalent for
Expand Down