when setting a value of a text list cell, pass key, value _and all data_ to the format function
This commit is contained in:
parent
cfc5baef61
commit
6eef7c567b
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ Ox.TextList = function(options, self) {
|
||||||
id = value;
|
id = value;
|
||||||
}
|
}
|
||||||
$cell = getCell(id, key);
|
$cell = getCell(id, key);
|
||||||
$cell && $cell.html(formatValue(key, value));
|
$cell && $cell.html(formatValue(key, value, that.$body.value(id)));
|
||||||
if (key == self.options.sort[0].key) {
|
if (key == self.options.sort[0].key) {
|
||||||
// sort key has changed
|
// sort key has changed
|
||||||
that.$body.sort();
|
that.$body.sort();
|
||||||
|
|
Loading…
Reference in a new issue