Hi, people
I'm starting with javascript and I have a doubt.
I already have a grid with data and a form with 5 fields.
One of these fields of the form I want to fill with data of the grid.

This is what I have:
sm: new Ext.grid.RowSelectionModel({
				  singleSelect: true,
				  listeners: {
				   rowselect: function(sm, row, rec) {
But this way the entire form is filled with the data of the grid.
What I want is that when the user click on the row, only the first column of that row is sent to the specific field of the form.
Does anyone know how to do this?