Here we have a demo on grid layout manipulations. The layout can be updated out of the components core, saved and applied. To apply some layout you may call applyLayout method on gridAdapter:
$scope.adapter.gridAdapter.applyLayout(layout)The "layout" variable must have an appropriate format which exactly matches the format of getLayout() method call result.
layout = $scope.adapter.gridAdapter.getLayout()Note that saving via cookie requires web-server.
number | content | bool |
---|---|---|
{{item.col1}} | {{item.col2}} | {{item.col3}} |