Home | History | Annotate | Download | only in scripts

Lines Matching refs:Cell

1 // expand/collapse button (expander) is added if height of a cell content 
11 // array[group][cell] of { 'height', 'expanded' }.
13 // cell: a number; unique index of a cell in a group.
14 // height: a number, px; original height of a cell in a table.
15 // expanded: boolean; is a cell expanded or collapsed?
18 // Extracts group and cell indices from an id of the form identifier_group_cell.
21 return { 'group': idx[0], 'cell': idx[1] };
24 // Returns { 'height', 'expanded' } info for a cell with a given id.
27 return CellsInfo[idx.group][idx.cell];
55 // We found a div wrapping a cell content whose height exceeds
58 // Unique postfix for ids for generated nodes for a given cell.
60 // Create an expander and an additional wrapper for a cell content.
64 // | cell content | -> | | cell content | |
104 expandableDiv.id = "cell"+ idxStr;
106 // Keep original cell height and its ecpanded/cpllapsed state.
137 // Invoked when an expander is pressed; expand/collapse a cell.
148 // Cell is expanded - collapse the row height to CLIP_HEIGHT.
153 // Cell is collapsed - expand the row height to the cells original height.
162 var expandableDiv = document.getElementById("cell" + idxStr);
169 // Cell height exceeds row height - collapse a cell.
174 // Cell height is less then or equal to row height - expand a cell.
182 var idxStr = "_" + idx.group + "_" + idx.cell;
183 var clickedExpandableDiv = document.getElementById("cell" + idxStr);