How to get the value of a column in a dhtmlx grid ?

Is there a way to get the column value from a dhtmlx grid. The scenario is like - On Clicking of a column in the grid a dhtmlx window open which needs to display some data based on other 2 coumn values in the same row. Is there a way to do this?
Please help !!! its really urgent ! :confused:

Next command returns the value of the cell

grid.cells(id,index).getValue()

id - id of row
index - index of column

Thankyou thankyou thankyou !!! :smiley:
I was trying with cell.getvalue… forgot the braces after that !