Last active
August 26, 2016 01:52
-
-
Save goofmint/ba824d128b5035e89546c5cd925257b1 to your computer and use it in GitHub Desktop.
7.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var initParam = { | |
searcher: { | |
type: 'all' | |
}, | |
mapper: { | |
type: 'property', | |
param: { | |
direction: 'vertical', | |
visibleProperties: { | |
header: ['id'], | |
main: ['name', 'position'] | |
}, | |
dataDirectionSize: { | |
size: 25 | |
} | |
} | |
}, | |
// 表示形式とソートアイコンの設定 | |
view: { | |
type: 'table', | |
param: { | |
cellClassDefinition: {}, | |
sortAscIconClasses: ['glyphicon glyphicon-sort-by-alphabet'], | |
sortDescIconClasses: ['glyphicon glyphicon-sort-by-alphabet-alt'] | |
} | |
}, | |
// 各カラム単位の設定 | |
properties: { | |
id: { | |
size: 70, | |
sortable: true | |
}, | |
name: { | |
size: 100, | |
sortable: true | |
}, | |
position: { | |
size: 110 | |
} | |
} | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment