Open this page in the API Guide

LayerViewModel.setTemplate Method

Set the template grid. If the new template does not have cell that correspond to adapter, adapter will be removed.
 

Parameters

doNotAttachAdapters

(Optional) True to not attach adapter.