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.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SjM0FfiRFMMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


No comments:
Post a Comment