Selecting Speciied Column values from Seleted Row in xGrid

I’ve used xGrid to get values from different tables

now i want that when i select a row of the Grid it must return value of specified Column

Say I’ve BookCode which is retreived by mygrid.getSelectedId()

Now I want to retrieve Title of the book which is 2nd column in the grid

I’ve tried by writing

function doOnRowSelect(state, rowId, cellInd)

and have set grid event handler by

mygrid.setOnRowSelectHandler(doOnRowSelect)

But unable to get the 2nd column value

I m using standard Edition

Thanks