View Full Version : How to set the value of grid

17 Oct 2013, 8:26 AM
I have a grid for terminals, What I want to do now is to display the selected terminals into another grid. I am able to get the selected terminals with this code:

var sel = scope.getTerminalGrid().getSelectionModel().getSelection();
var user = scope.getProfinfo().getForm().getValues();

for(var i=0; i < sel.length; i++)
var terminals = sel[i].data;

17 Oct 2013, 9:27 AM
take a look at the methods available for selection model. you can use select() for what you want to do: