Hi,
After i use Grid Builder,the display order result is not ideal.
So i want to use SQL statement e.g.order by to achieve my project.
How to modify?
In before select event?
How to deliver the parameter?
thanks.
How to custom Grid SQL?
如果市要order 這樣應該也可以
function Tasks_ds_BeforeBuildSelect() {
global $Tasks;
If ($Tasks->ds->Order == "") {
$Tasks->ds->Order = "task_name DESC";
}
}
global $Tasks;
If ($Tasks->ds->Order == "") {
$Tasks->ds->Order = "task_name DESC";
}
}
我是學學國的學學安.. 研究,研究,研究 ,學習,學習,學習.....還有 ..這一生中最幸福之1的事就是認識 codecharge..
我的msn polo13999@msn.com
歡迎加入討論 Codecharge Studio
我的msn polo13999@msn.com
歡迎加入討論 Codecharge Studio