summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2006-02-05 00:29:37 +0000
committerxue <>2006-02-05 00:29:37 +0000
commitc397b21f03fa535ec1c742dac1a66e315879cf10 (patch)
tree9266316953cc16fdabd368d6461f99b0a2a71fcb /framework/Web/UI
parent139ca38ddcf4998c882cfc98cb932524de210d86 (diff)
Added an example showing TDataGrid sort functionality.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TDataGrid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php
index 1817d03e..91b0c374 100644
--- a/framework/Web/UI/WebControls/TDataGrid.php
+++ b/framework/Web/UI/WebControls/TDataGrid.php
@@ -599,7 +599,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer
}
else if(strcasecmp($command,'sort')===0)
{
- $this->onSortCommand(new TDataGridSortCommandEventParameter($sender,$param->getCommandParameter()));
+ $this->onSortCommand(new TDataGridSortCommandEventParameter($sender,$param));
return true;
}
else if(strcasecmp($command,'page')===0)