1 頁 (共 1 頁)

How to custom Grid SQL?

發表於 : 2004-12-06 23:20:11
shanbw
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.

發表於 : 2004-12-08 16:38:36
yehlu
You Can use Data Source ->Build Query

如果市要order 這樣應該也可以

發表於 : 2005-09-11 16:11:23
學學安
function Tasks_ds_BeforeBuildSelect() {
global $Tasks;

If ($Tasks->ds->Order == "") {
$Tasks->ds->Order = "task_name DESC";
}

}