As shown in the attached datagridSelectedRecord.jpg,
the selected record is yellow color and no onSelectionChange event is triggered when the situation is occured.
Normal selected record is shown as datagridSelectedRecord2.jpg,
the selected record is blue color and onSelectionChange event is triggered.
the first strange case will be occured when user added a record in the datagrid, and then set the selectonmodel to point to that newly added record.
datagrid.setSelected(newItem, true);
I try to redraw() the datagrid after adding a item but it does not help.