Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > e.row.cells[0].innerHTML client event dosn't work on IE8

Not answered e.row.cells[0].innerHTML client event dosn't work on IE8

Feed from this thread
  • Ronald avatar

    Posted on Aug 21, 2011 (permalink)

    Hi,

    On this page, http://demos.telerik.com/aspnet-mvc/grid/selectionclientside, you explain how to select the cell content of a selected row with the following code:

    function onRowSelected(e) {
           
    var ordersGrid = $('#Orders').data('tGrid');
            customerID
    = e.row.cells[0].innerHTML;
           
    // update ui text
            $
    ('#customerID').text(customerID);
           
    // rebind the related grid
            ordersGrid
    .rebind({
                customerID
    : customerID
           
    });
       
    }

    But this code doesn't work on IE8. After some research, I found, that to make it work you must change
    this
    customerID = e.row.cells[0].innerHTML;
    with
    var customerID = e.row.cells[0].innerHTML;

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > e.row.cells[0].innerHTML client event dosn't work on IE8