diff options
author | xue <> | 2006-11-27 03:17:58 +0000 |
---|---|---|
committer | xue <> | 2006-11-27 03:17:58 +0000 |
commit | 51fe975484bb4d1e8e63f4438c1c8e7f1b41c5df (patch) | |
tree | 9d4c4dad48a8490387c799118e9053203e2a53db | |
parent | e5477d462399aaf73836a069bc19775d7b8b1918 (diff) |
TDataGrid now does not generate default table styles.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | UPGRADE | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TDataGrid.php | 6 |
3 files changed, 4 insertions, 5 deletions
@@ -9,6 +9,7 @@ ENH: Ticket#446 - Added TMetaTagCollection.getMetaTagByID method (Qiang) CHG: Ticket#437 - __autoload is replaced by spl_autoload_register (Qiang) CHG: Ticket#454 - Redundant PHP Version Check (Qiang) CHG: Ticket#460 - Validators will not perform validation if parents are disabled (Qiang) +CHG: TDataGrid now does not set default table styles (Qiang) CHG: TRepeater does not render <span> anymore for empty item template (Qiang) CHG: THttpRequest.constructUrl() now encodes ampersand by default (Qiang) @@ -18,6 +18,8 @@ Upgrading from v3.0.5 - TRepeater does not render <span> anymore for empty item template.
- constructUrl() now encodes ampersand by default. This should have minimal
impact on any existing PRADO applications, though.
+- TDataGrid does not generate default table styles. This may affect
+ the appearance of existing PRADO applications that use TDataGrid.
Upgrading from v3.0.4
---------------------
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index ccbd8be3..90042b12 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -276,11 +276,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer */
protected function createStyle()
{
- $style=new TTableStyle;
- $style->setGridLines('Both');
- $style->setCellSpacing(0);
- $style->setBorderCollapse(true);
- return $style;
+ return new TTableStyle;
}
/**
|