locked
SubGrid Load Event RRS feed

  • Question

  • Hi, I've added Activities in Account forms. is it possible if I can remove the tab index from the section which contains "Activities" record so user does not need to tab through all the records in the grid until reach the next section or columns in the forms. On the Form Load event, I can remove tab index from the Account fields, but can't remove the tab index from the Activities grid, probably, the data does not loaded yet, so it can't find

     all of the table cells which contain the data.


    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, September 23, 2014 8:44 PM

All replies

  • Hi Litonn ,

    I am not sure that you can remove tabindexes of subgrid but below code attach subgrid onload event.

    function FilterSubgrid() {
    
        var subgrid = document.getElementById("subgridid");
        if (subgrid == null) {
            setTimeout(function () { FilterSubgrid(); }, 2000); //if the grid hasn’t loaded run this again when it has 
            return;
        }
    //do staff
    
    }


    Polat Aydın Crm Software Developer

    Wednesday, September 24, 2014 8:35 AM