| | |
| | | //, page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 5000 |
| | | , totalRow: true |
| | | //, limits: [50, 500, 5000, 20000] |
| | | }; |
| | | |
| | |
| | | //, page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 5000 |
| | | , totalRow: true |
| | | //, limits: [50, 500, 5000, 20000] |
| | | }; |
| | | |
| | |
| | | //, page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 5000 |
| | | , totalRow: true |
| | | //, limits: [50, 500, 5000, 20000] |
| | | }; |
| | | } |
| | |
| | | if ($.inArray(data[i].name, titleData0) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå |
| | | } |
| | | else if ($.inArray(data[i].name, totalArray) > -1) { |
| | | else if ($.inArray(data[i].name, totalArray) > -1 || (data[i].Type == "Decimal" || data[i].Type == "Int32")) { //计ç®å |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 }); |
| | | } else { |
| | | switch (data[i].Type) { |
| | |
| | | //#region 渲æè¡¨1 |
| | | function setInit_mainTable1(data1) { |
| | | //éè¦è®¾ç½®å计è¡çå |
| | | var totalArray = []; |
| | | var totalArray = ["æ¬è²å计"]; |
| | | |
| | | //æ´çå表çå |
| | | var data = []; |
| | |
| | | if ($.inArray(data[i].name, titleData1) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå |
| | | } |
| | | else if ($.inArray(data[i].name, totalArray) > -1) { |
| | | else if ($.inArray(data[i].name, totalArray) > -1 || (data[i].Type == "Decimal" || data[i].Type == "Int32")) { //计ç®å |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 }); |
| | | } else { |
| | | switch (data[i].Type) { |
| | |
| | | if ($.inArray(data[i].name, titleData2) > -1) { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå |
| | | } |
| | | else if ($.inArray(data[i].name, totalArray) > -1) { |
| | | else if ($.inArray(data[i].name, totalArray) > -1 || (data[i].Type == "Decimal" || data[i].Type == "Int32")) { //计ç®å |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 }); |
| | | } else { |
| | | switch (data[i].Type) { |