jquery Programming Glossary: cmnametoindex
Custom aggregation/grouping in jqGrid http://stackoverflow.com/questions/5941674/custom-aggregation-grouping-in-jqgrid undefined myData.length 0 for i 0 l myData.length i l i # myData i .show this .closest tr .hide e.preventDefault cmNameToIndex grid.jqGrid datatype 'json' url 'CustomGrouping.json' colNames 'Expand To' 'Column 1' 'Column 2' 'Column 3' 'Column 4' 'Column.. in the nonHiddenRows array. For the rows the expandingInfo rowid for i l i item rows i idToItem item.id item fill cmNameToIndex to find easier the column index by column name cmNameToIndex for i 0 l cm.length i l i cmNameToIndex cm i .name i tr.jqgrow.. rowid for i l i item rows i idToItem item.id item fill cmNameToIndex to find easier the column index by column name cmNameToIndex for i 0 l cm.length i l i cmNameToIndex cm i .name i tr.jqgrow this .each function var tr this colName linkInfo td rowid..
|