Categories | Question details Back To List | ||
agendagrid.cells(rowId,3).getValue() return the label and not the value the list in the combo is the following : 10:10 20:20 30:30 40:40 if i select 10:10 the alert(agendagrid.cells(rowId,3).getValue() ) returns 1 , for 20:20 it returns 2 and so on. How do i get the actual value , not the label. I mean for when i select 10:10 i need it to return 10:10 (not 1). Thank u Answer posted by Support on Jul 07, 2008 07:15 If you mean "co" or "coro" column type , there are two methods to access data grid.cells(i,j).getValue(); // get value associated with currently selected option grid.cells(i,j).getText(); // get text lable associated with currently selected option http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Common_Problems_in_Grid.html#grid_art_comprob If you fill data from XML - please be sure that data in XML must be a cell values, not cell labels |