Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active August 26, 2016 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/ba824d128b5035e89546c5cd925257b1 to your computer and use it in GitHub Desktop.
Save goofmint/ba824d128b5035e89546c5cd925257b1 to your computer and use it in GitHub Desktop.
7.md
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