zoukankan      html  css  js  c++  java
  • extjs序号倒序

                columns : [{
                    header : '序号',
                    width : 60,
                    xtype : "rownumberer",
                    sortable : false,
                    align : 'center',
                    renderer : function(value,metadata,record,rowIndex) {
                        return leftStore.getCount()-rowIndex;
                    }                    
                },

            //重置右表行号
            for(var i = 0; i < rightStore.getCount(); i++) {
                rightStore.getAt(i).set("myRowNum", rightStore.getCount() - i);
            }

  • 相关阅读:
    P1541 乌龟棋 暴力DP
    HDU
    HDU-6608 Fansblog 数论 ,威尔逊定理,快速乘
    P3842 [TJOI2007]线段 思维 ,DP
    模板 BSGS
    Gym
    HDU
    HDU
    HDU
    P1095 守望者的逃离 暴力DP
  • 原文地址:https://www.cnblogs.com/cdcr/p/9516672.html
Copyright © 2011-2022 走看看