hi!
which doesn't seem to work. I have along table that spans across multiple pages and following pages does not have any margin at all
there are two types of options, extensions options and template request options, the extension options are the ones you can pass during core initialization, the template options are the options you can pass in .render()
.
the marginTop
, marginLeft
options of chrome are part of template options, so in order for them to work you need to pass it like this:
.render({
template: {
// ... other options here...
chrome: {
marginTop: '30px',
marginLeft: '10px'
}
// ... other options here...
}
})