1
0
Fork 0
forked from 0x2620/oxjs

in TableLists, use options.unique, not options.columns[i].unique

This commit is contained in:
rolux 2012-06-27 20:38:07 +02:00
commit 55e2174831
5 changed files with 9 additions and 15 deletions

View file

@ -76,14 +76,6 @@ Ox.MapEditor = function(options, self) {
};
self.columns = [
{
addable: false, // fixme: implement
id: 'id',
title: 'Id',
unique: true,
visible: false,
width: 32
},
{
format: function(value, data) {
return data.type
@ -345,7 +337,8 @@ Ox.MapEditor = function(options, self) {
pageLength: self.options.pageLength,
scrollbarVisible: true,
selected: self.options.selected ? [self.options.selected] : [],
sort: self.options.sort
sort: self.options.sort,
unique: 'id'
})
.bindEvent({
'delete': removeItem,