Changeset 1520 for branches/3.0

Show
Ignore:
Timestamp:
11/26/2006 09:17:58 PM (2 years ago)
Author:
xue
Message:

TDataGrid now does not generate default table styles.

Location:
branches/3.0
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/3.0/HISTORY

    r1515 r1520  
    1010CHG: Ticket#454 - Redundant PHP Version Check (Qiang) 
    1111CHG: Ticket#460 - Validators will not perform validation if parents are disabled (Qiang) 
     12CHG: TDataGrid now does not set default table styles (Qiang) 
    1213CHG: TRepeater does not render <span> anymore for empty item template (Qiang) 
    1314CHG: THttpRequest.constructUrl() now encodes ampersand by default (Qiang) 
  • branches/3.0/UPGRADE

    r1508 r1520  
    1919- constructUrl() now encodes ampersand by default. This should have minimal 
    2020  impact on any existing PRADO applications, though. 
     21- TDataGrid does not generate default table styles. This may affect 
     22  the appearance of existing PRADO applications that use TDataGrid. 
    2123 
    2224Upgrading from v3.0.4 
  • branches/3.0/framework/Web/UI/WebControls/TDataGrid.php

    r1397 r1520  
    277277        protected function createStyle() 
    278278        { 
    279                 $style=new TTableStyle; 
    280                 $style->setGridLines('Both'); 
    281                 $style->setCellSpacing(0); 
    282                 $style->setBorderCollapse(true); 
    283                 return $style; 
     279                return new TTableStyle; 
    284280        } 
    285281