1 Reply Latest reply on May 17, 2007 7:28 AM by BLXWebMaster

    Accessing column clicked data value

    richruiz Level 1
      I have a datagrid with an itemDoubleClick function. In the function I can get the row and column that was clicked but cannot figure out how to get the value stored in that cell.

      Using the code..

      datarequest.lastResult.MyData.answer[event.rowIndex] .d1

      .. I can get to the value of the column bound to d1 in the row clicked but I cannot find a way to get the value using the value by referenceing event.columnIndex.

      Using MyDataGrid.columns[event.columnIndex].dataField I can get binding name but need somethin like getItemByName to retreive the value.

      Any suggestions?