We change Infragistics.WebUI.UltraWebGrid.UltraWebGrid to Infragistics.Web.UI.GridControls.WebDataGrid. Now, we have problems with replacing.
How we can migrate this code?
var row = igtbl_addNew(gridName, 0); var grid = igtbl_getGridById(gridName); grid.clearSelectionAll();
SelectRow2(grid, grid.Rows.length-1);
igtbl_EnterEditMode(gridName);
function SelectRow2(grid, rowNum) { alert("SelectRow2"); if ((grid.Rows.length > rowNum) && (rowNum >= 0)) { grid.Rows.getRow(0).getCell(0).activate(); var row = grid.Rows.getRow(rowNum); // Set the cell as the active cell grid.setActiveRow(row); row.setSelected(true); } }
Thanq for u r reply
Currently i'm not using any MVC architecture.
so i cant able use infragisitcs jQuery Grid.
Hello surya1984,
I suggest you to use our jQuery grid - http://es.infragistics.com/products/jquery/grid/
Here you can find the API reference - http://help.infragistics.com/jQuery/2012.2/ui.iggrid
And the documentation - http://help.infragistics.com/NetAdvantage/jQuery/2012.2/CLR4.0?page=jQuery_NA_jQuery.html
is there any way to create an client side instance of infragisitcs v12.1 webdatagrid
i don't want to create a server side grid instance at all.
Hi Anton,
If you have any other questions, please let me know.
Hello Anton,
I would suggest you to check the WebDataGrid cheat sheet for information and sample code for setting/getting active cells, values, row adding on the client, etc. - http://dl.infragistics.com/pg/cheat-sheet/InfragisticsNAforASPNETGridCheatSheet.pdf.