Get cell value by column name ( not an index )

I need to get value of a cell of the row selected and by specifying the column name.( not column index)

I define columnIDs while im creating grid.

How can i do this?

thanks,

You can convert cell ID to cell index as

var index = grid.getColIndexById(id);
var value = grid.cells(rowId,index);