Changeset 14146
- Timestamp:
- 06/25/08 12:47:20 (12 months ago)
- Location:
- dojox/trunk/grid
- Files:
-
- 5 modified
-
resources/nihiloGrid.css (modified) (3 diffs)
-
resources/soriaGrid.css (modified) (3 diffs)
-
resources/tundraGrid.css (modified) (3 diffs)
-
_RowSelector.js (modified) (1 diff)
-
_ViewManager.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/grid/resources/nihiloGrid.css
r14080 r14146 58 58 border: 1px solid transparent; 59 59 /* border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; */ 60 border-color: white #ACA899 #919191 white;60 border-color: transparent #ACA899 #919191 transparent; 61 61 background: url(../../../dijit/themes/nihilo/images/titleBar.png) #e9e9e9 repeat-x top; 62 62 padding-bottom: 2px; … … 175 175 } 176 176 177 .nihilo .dojoxGrid-row-table { 177 .nihilo .dojoxGrid-row-table, 178 .nihilo .dojoxGrid-rowbar-table { 178 179 table-layout: fixed; 179 180 width: 0; 180 border-collapse: collapse;181 }182 183 .dj_ff2 .nihilo .dojoxGrid-row-table {184 border-collapse: separate;185 181 } 186 182 … … 206 202 .nihilo .dojoxGrid-cell { 207 203 border: 1px dotted #D5CDB5; 204 border-left-color: transparent; 205 border-top-color: transparent; 208 206 padding: 3px 3px 3px 3px; 209 207 text-align: left; -
dojox/trunk/grid/resources/soriaGrid.css
r14080 r14146 58 58 border: 1px solid transparent; 59 59 /* border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; */ 60 border-color: white #ACA899 #919191 white;60 border-color: transparent #ACA899 #919191 transparent; 61 61 background: url(../../../dijit/themes/soria/images/titleBar.png) #e9e9e9 repeat-x top; 62 62 padding-bottom: 2px; … … 176 176 } 177 177 178 .soria .dojoxGrid-row-table { 178 .soria .dojoxGrid-row-table, 179 .soria .dojoxGrid-rowbar-table { 179 180 table-layout: fixed; 180 181 width: 0; 181 border-collapse: collapse;182 }183 184 .dj_ff2 .soria .dojoxGrid-row-table {185 border-collapse: separate;186 182 } 187 183 … … 207 203 .soria .dojoxGrid-cell { 208 204 border: 1px dotted #D5CDB5; 205 border-left-color: transparent; 206 border-top-color: transparent; 209 207 padding: 3px 3px 3px 3px; 210 208 text-align: left; -
dojox/trunk/grid/resources/tundraGrid.css
r14080 r14146 58 58 border: 1px solid transparent; 59 59 /* border-color: #F6F4EB #ACA899 #ACA899 #F6F4EB; */ 60 border-color: white #ACA899 #919191 white;60 border-color: transparent #ACA899 #919191 transparent; 61 61 background: url(../../../dijit/themes/tundra/images/tabEnabled.png) #e9e9e9 repeat-x top; 62 62 padding-bottom: 2px; … … 169 169 } 170 170 171 .tundra .dojoxGrid-row-table { 171 .tundra .dojoxGrid-row-table, 172 .tundra .dojoxGrid-rowbar-table { 172 173 table-layout: fixed; 173 174 width: 0; 174 border-collapse: collapse;175 }176 177 .dj_ff2 .tundra .dojoxGrid-row-table {178 border-collapse: separate;179 175 } 180 176 … … 200 196 .tundra .dojoxGrid-cell { 201 197 border: 1px dotted #D5CDB5; 198 border-left-color: transparent; 199 border-top-color: transparent; 202 200 padding: 3px 3px 3px 3px; 203 201 text-align: left; -
dojox/trunk/grid/_RowSelector.js
r13545 r14146 18 18 buildRowContent: function(inRowIndex, inRowNode){ 19 19 var w = this.contentNode.offsetWidth - this.padBorderWidth 20 inRowNode.innerHTML = '<table style="width:' + w + 'px;" role="wairole:presentation"><tr><td class="dojoxGrid-rowbar-inner"></td></tr></table>';20 inRowNode.innerHTML = '<table class="dojoxGrid-rowbar-table" style="width:' + w + 'px;" border="0" cellspacing="0" cellpadding="0" role="wairole:presentation"><tr><td class="dojoxGrid-rowbar-inner"> </td></tr></table>'; 21 21 }, 22 22 renderHeader: function(){ -
dojox/trunk/grid/_ViewManager.js
r14057 r14146 74 74 var h = 0; 75 75 for(var i=0, n, o; (n=inRowNodes[i]); i++){ 76 h = Math.max(h, (n.firstChild.clientHeight)||(n.firstChild.offsetHeight));76 h = Math.max(h, dojo.marginBox(n.firstChild).h); 77 77 } 78 78 h = (h >= 0 ? h : 0); 79 79 // 80 var hpx = h + 'px';80 // 81 81 for(var i=0, n; (n=inRowNodes[i]); i++){ 82 if(n.firstChild.clientHeight!=h){ 83 n.firstChild.style.height = hpx; 84 } 82 dojo.marginBox(n.firstChild, {h:h}); 85 83 } 86 84 //