Is it possible to get cells from the selected row client side? I do not see any specific methods or properties for rows or cells in the web combo CSOM in the help file.
I would like to save a trip to the server and pass the information from one of the cells in the selected row to another control after the user selects an item. I am using AJAX with a post back to the server at the moment, but this is a bit of a drag for the user.
Thanks aspire. I like the quick loop through the rows cells!
function iddl_AfterSelectChange(webComboId){ //Add code to handle your event here. var oCombo=igcmbo_getComboById(webComboId); var grid = oCombo.grid; var row = oCombo.grid.getActiveRow(); for (var i = 0; i < row.cells.length; i++) { alert(row.getCell(i).getValue()); }}
Thanks Helen. I guess I could have inferred this but it would be nice it the help file specifically states, or better yet links to, the grid help for more client side programming.
The rows in the combo are grid rows. You can find out what methods they support here:
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/WebGrid_row_Object_CSOM.html