Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
I can not get the igtbl_getCellById of a cell of a webdatagrid infragistics v11
posted

I'm migrating a UltraWebGrid to webdatagrid v11.2 but I can not get the igtbl_getCellById of a cell of a webdatagrid infragistics v11. and link it to a similar reference is disabled help please

function ClickBTabla(gridName, cellId)

var cell = igtbl_getCellById(cellId); //aqui genera el error (Microsoft JScript runtime error: Object expected)
var renglon = igtbl_getRowById(cellId);

switch(cell.Column.Key)

{

}

//mostrar otro formulario

}

Parents
No Data
Reply
  • 16310
    Verified Answer
    Offline posted

    Hello,

    in the new WebDataGrid the following methods are available to use:

    var gridRow = ig_controls.WebDataGrid1.get_rows().get_row(0);

    var rowCell = gridRow.get_cell(2) // pass the index of the cell

    var rowCell = gridRow.get_cellByColumnKey("Date") // pass the column key as string

    var rowCell = gridRow.get_cell(column) // pass a grid's column object

Children