more progress on the new filter tab, removed views

This commit is contained in:
Manuel Simon Hirsig
2016-01-29 23:23:47 +01:00
parent 473a66d3cc
commit 006b7a0582
12 changed files with 207 additions and 656 deletions
+1 -19
View File
@@ -97,25 +97,7 @@ function public.on_load()
cell.text:SetText(datum.aux_quantity)
end,
},
{
title = 'Left',
width = 30,
comparator = function(row1, row2) return Aux.util.compare(row1.duration, row2.duration, Aux.util.GT) end,
cell_initializer = Aux.sheet.default_cell_initializer('CENTER'),
cell_setter = function(cell, datum)
local text
if datum.duration == 1 then
text = '30m'
elseif datum.duration == 2 then
text = '2h'
elseif datum.duration == 3 then
text = '8h'
elseif datum.duration == 4 then
text = '24h'
end
cell.text:SetText(text)
end,
},
Aux.listing_util.duration_column(function(entry) return entry.duration end),
{
title = 'Current Bid',
width = 80,