MCPcopy Create free account
hub / github.com/neomjs/neo / createExampleComponent

Method createExampleComponent

examples/grid/container/MainContainer.mjs:82–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 createExampleComponent() {
83 return {
84 module: GridContainer,
85 store : MainStore,
86
87 columnDefaults: {
88 width: 200
89 },
90
91 body: {
92 selectionModel: CellModel
93 },
94
95 columns: [
96 {dataField: 'firstname', text: 'Firstname'},
97 {dataField: 'lastname', text: 'Lastname'},
98 {dataField: 'githubId', text: 'Github Id'},
99 {dataField: 'country', text: 'Country'}
100 ],
101
102 wrapperStyle: {
103 height: '250px'
104 }
105 }
106 }
107
108 /**
109 * @param {String} config

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected