ligerui grid height adaptive

onAfterShowData:function() 

{

    $(".l-grid-row-cell-inner").css("height","auto"); //The cell is highly automated and stretched

    var i = 0;

    $("tr",".l-grid2","#maingrid").each(function () 

    {

        $($("tr",".l-grid1","#maingrid")[i]).css("height",$(this).height()); //The tr heights of the two tables are the same

        i++;

    });

},

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324893915&siteId=291194637