X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fsliceview.py;h=d3dea6f8444f902d2172e60f526a2f6c9c3aaa33;hb=75570d93223f36e1f23bc69bbd39ca43fd56f0d3;hp=820181497bd129fa155f17726983e5777e4b2ae4;hpb=ec78acf94b2f10c9f07c8e575200313c294295d6;p=unfold.git diff --git a/portal/sliceview.py b/portal/sliceview.py index 82018149..d3dea6f8 100644 --- a/portal/sliceview.py +++ b/portal/sliceview.py @@ -205,11 +205,9 @@ class SliceView (LoginRequiredAutoLogoutView): query_all = query_user_all, checkboxes = True, datatables_options = { - # for now we turn off sorting on the checkboxes columns this way - # this of course should be automatic in hazelnut - 'aoColumns' : [None, None, None, None, {'bSortable': False}], 'iDisplayLength' : 25, 'bLengthChange' : True, + 'bAutoWidth' : True, }, )) @@ -235,11 +233,9 @@ class SliceView (LoginRequiredAutoLogoutView): query = sq_measurement, checkboxes = True, datatables_options = { - # for now we turn off sorting on the checkboxes columns this way - # this of course should be automatic in hazelnut - 'aoColumns' : [None, None, None, None, {'bSortable': False}], 'iDisplayLength' : 25, 'bLengthChange' : True, + 'bAutoWidth' : True, }, ))