forked from 0x2620/pandora
(+ one more)
This commit is contained in:
parent
fcaf7c0375
commit
927e4c9ef6
1 changed files with 10 additions and 15 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue