leave the dynamic/variable-size data left-justified for faster top/bottom visual...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 21:39:51 +0000 (21:39 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Oct 2008 21:39:51 +0000 (21:39 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10983 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/vandelay/inc/queue.xml

index 563a650..8cdd362 100644 (file)
     var vlQueueGridLayout;
     function resetVlQueueGridLayout() {
         vlQueueGridLayout = [{
-            defaultCell: {styles: 'text-align: center;'},
+            //defaultCell: {styles: 'text-align: center;'},
             cells : [[
                 {name: '&lt;input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>', 
-                    get: vlQueueGridDrawSelectBox },
+                    get: vlQueueGridDrawSelectBox, styles : 'text-align: center;' },
                 {   name: '&vandelay.view.marc;', 
-                    get: vlGetViewMARC, 
+                    get: vlGetViewMARC, styles : 'text-align: center;',
                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
                         'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;&lt;/a>'
                 },
                 {   name: '&vandelay.matches;', 
-                    get: vlGetViewMatches,
+                    get: vlGetViewMatches, styles : 'text-align: center;',
                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;&lt;/a>'
                 },
-                {name: '&vandelay.import.time;', field:'import_time', get:vlGetDateTimeField, selectableColumn:true}
+                {name: '&vandelay.import.time;', field:'import_time',  styles : 'text-align: center;',
+                    get:vlGetDateTimeField, selectableColumn:true}
             ]]
         }];
     }