more lists stuff
This commit is contained in:
parent
6cf02b4e61
commit
8e93352c4c
1 changed files with 4 additions and 3 deletions
|
@ -236,7 +236,7 @@ requires
|
||||||
data: JSON.stringify(data)
|
data: JSON.stringify(data)
|
||||||
},
|
},
|
||||||
callback: callback
|
callback: callback
|
||||||
}, value.cache ? {timeout: 0}: {}));
|
}, !value.cache ? {age: 0}: {}));
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
that.api[self.options.init](getUserData(), function(data) {
|
that.api[self.options.init](getUserData(), function(data) {
|
||||||
|
@ -7233,6 +7233,7 @@ requires
|
||||||
max: -1,
|
max: -1,
|
||||||
min: 0,
|
min: 0,
|
||||||
pageLength: 100,
|
pageLength: 100,
|
||||||
|
scrollbarVisible: false,
|
||||||
selected: [],
|
selected: [],
|
||||||
request: function() {}, // {sort, range, keys, callback}
|
request: function() {}, // {sort, range, keys, callback}
|
||||||
sort: []
|
sort: []
|
||||||
|
@ -7344,7 +7345,7 @@ requires
|
||||||
.addClass('OxBody')
|
.addClass('OxBody')
|
||||||
.css({
|
.css({
|
||||||
top: (self.options.columnsVisible ? 16 : 0) + 'px',
|
top: (self.options.columnsVisible ? 16 : 0) + 'px',
|
||||||
overflowY: (self.options.columnsVisible ? 'scroll' : 'hidden')
|
overflowY: (self.options.scrollbarVisible ? 'scroll' : 'hidden')
|
||||||
})
|
})
|
||||||
.scroll(function() {
|
.scroll(function() {
|
||||||
var scrollLeft = $(this).scrollLeft();
|
var scrollLeft = $(this).scrollLeft();
|
||||||
|
@ -7631,7 +7632,7 @@ requires
|
||||||
return Math.max(
|
return Math.max(
|
||||||
Ox.sum(self.columnWidths),
|
Ox.sum(self.columnWidths),
|
||||||
that.$element.width() -
|
that.$element.width() -
|
||||||
(self.options.columnsVisible ? oxui.scrollbarSize : 0)
|
(self.options.scrollbarVisible ? oxui.scrollbarSize : 0)
|
||||||
);
|
);
|
||||||
//return Ox.sum(self.columnWidths)
|
//return Ox.sum(self.columnWidths)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue