Feb 16, 2012, 4:03 PM
JavaScript - Determine if GridPanel has any selections - How to?
How can I determine if a gridpanel has any selections?
((CheckboxSelectionModel)YourGridPanel.GetSelectionModel()).SelectedRows.Count == 0
That returns true if no row is selected.
#{YourGridPanel}.getSelectionModel().hasSelection()