HomeHelpTrac

Changeset 15736 for trunk/templates


Ignore:
Timestamp:
12/08/11 01:08:52 (6 months ago)
Author:
Alexander Trofimov
Message:

Grid - actions are right aligned when placed in last column

Location:
trunk/templates/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/css/grid.css

    r15711 r15736  
    7474} 
    7575 
     76 
     77td:last-child .bx-grid-cell-signge-actions-wrapper { 
     78    float:right; 
     79} 
  • trunk/templates/base/scripts/BxBaseGrid.php

    r15730 r15736  
    404404            isset($aField['width']) ? 'width:' . $aField['width'] : false  // add default styles 
    405405        ); 
    406         return '<td ' . $sAttr . '>' . $this->_getActions('single', $aRow[$this->_aOptions['field_id']], false, $this->_isRowDisabled($aRow), $aRow) . '</td>'; 
     406        return '<td ' . $sAttr . '><div class="bx-grid-cell-signge-actions-wrapper">' . $this->_getActions('single', $aRow[$this->_aOptions['field_id']], false, $this->_isRowDisabled($aRow), $aRow) . '</div></td>'; 
    407407    } 
    408408 
Note: See TracChangeset for help on using the changeset viewer.