Skip to content

Instantly share code, notes, and snippets.

@phpleo
Created April 17, 2013 21:16
Show Gist options
  • Select an option

  • Save phpleo/5407838 to your computer and use it in GitHub Desktop.

Select an option

Save phpleo/5407838 to your computer and use it in GitHub Desktop.
Verificar si un grid de ext.j tiene una fila seleccionada. http://stackoverflow.com/questions/14165617/get-selected-row-column-value-extjs-grid
if (userGrid.getSelectionModel().hasSelection()) {
var row = userGrid.getSelectionModel().getSelection()[0];
console.log(row.get('dni'))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment