getState
returns the current state of the view
function getState(): object
Returns
Section titled “Returns”object
the state object
Example
Section titled “Example”grid.getState();
also check the next samples:
Details
Section titled “Details”The state object reflects inner UI configuration of the view.
For example, for DataGrid shown below:

the state object will look as in:
{ filter:{ title:"Go" }, ids: ["rank","title","year","votes"], select:[{ column:"title", id:3, row:3 }], size:[50,200,80,100], sort:{ dir: "desc", id: "title" }}