diff --git a/source/Ox.UI/js/List/TableList.js b/source/Ox.UI/js/List/TableList.js index cf676386..038cee92 100644 --- a/source/Ox.UI/js/List/TableList.js +++ b/source/Ox.UI/js/List/TableList.js @@ -29,6 +29,7 @@ Ox.TableList TableList Widget columnWidth <[n]|[40, 800]> Minimum and maximum column width disableHorizontalScrolling If true, disable scrolling draggable If true, items can be dragged + droppable If true, items can be dropped id Id items function() {} {sort, range, keys, callback} or array keys <[s]|[]> Additional keys (apart from keys of visible columns) @@ -70,6 +71,7 @@ Ox.TableList = function(options, self) { columnWidth: [40, 800], disableHorizontalScrolling: false, draggable: false, + droppable: false, id: '', items: null, keys: [], @@ -540,6 +542,8 @@ Ox.TableList = function(options, self) { ? (Ox.isString(v.tooltip) ? v.tooltip : v.tooltip(data)) : ''; } }); + } else if (self.options.droppable) { + $cell = Ox.Element(); } else { // this is faster $cell = $('
');