returns the current state of the view
object | the state object |
grid.getState();
The state object reflects inner UI configuration of the view.
For example, for DataTable 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"
}
}