Sha256: b30529ed7ee16bbed149139bf699779ad7bd4d5b0a0948db5878ece5d4556259
Contents?: true
Size: 793 Bytes
Versions: 24
Compression:
Stored size: 793 Bytes
Contents
# Character ## Bootstrap Data Bootstrapped data configuration example with disabled item updates and pagination: ```coffee postsConfig = (data) -> itemTitleField: 'title' disableUpdateItems: true objects: data.posts arrayStore: new RailsArrayStore({ resource: 'post' path: '/admin/posts' sortBy: 'title' pagination: false }) formSchema: title: { type: 'string' } body: { type: 'text' } ``` ```disableUpdateItems``` — do not update items in the list while navigation, ```objects``` — provides initial (bootstrapped) array of objects to be added to the list, ```pagination``` — disable pagination for list. If attached as modules root list, you can access store data with: ```chr.modules.posts.arrayStore.data()```.
Version data entries
24 entries across 24 versions & 1 rubygems