(+ one more)

This commit is contained in:
rolux 2012-06-28 00:25:41 +02:00
parent fcaf7c0375
commit 927e4c9ef6

View file

@ -70,15 +70,14 @@ var app = new Ox.App({
function constructList() { function constructList() {
return new Ox.TableList({ return new Ox.TableList({
columns: [ columns: [
{ {
align: "left", align: "left",
id: "name", id: "name",
operator: "+", operator: "+",
title: "Name", title: "Name",
unique: true, visible: true,
visible: true, width: 140
width: 140 },
},
], ],
columnsMovable: false, columnsMovable: false,
columnsRemovable: false, columnsRemovable: false,
@ -110,12 +109,8 @@ function constructList() {
} }
}, },
scrollbarVisible: true, scrollbarVisible: true,
sort: [ sort: [{key: "name", operator: "+"}],
{ unique: 'name'
key: "name",
operator: "+"
}
]
}).bindEvent({ }).bindEvent({
select: function(data) { select: function(data) {
var info = $('<div>').addClass('OxSelectable'), var info = $('<div>').addClass('OxSelectable'),