Forum



11:19

14/01/2010

I hv 2 tables on purchase order. Main table: tbl_po which contain [int_poid, tbl_po.dt_appdate etc] and detail table: tbl_podetail which contain [int_podetail, int_po, int_qty, fl_unitpric] .
I try to put this inside my data url for my grid.. select option
it runs OK if i omit some code and become like this
or is it not possible to run SQL command in jqgrid like SUM, MIN, AVG, INNER JOIN etc.. I run the same query inside phpmyadmin and it return some output. I look through some of the sample in demo, master detail, subgrid.. but I cant find the solution.. coz in the demo there is a field for amount in the master table.. in my case the amount is not exist in my tbl_po. I can create the (tbl_podetail.int_qty*tbl_podetail.fl_unitprice) as amount only on the "tbl_podetail" jqgrid like this
but this does not settle my problems.. i wish to create a grnd total to be passed to the amount.. just like the masted detail example…. coz i want to create some sort of summary..
hellpp pleaseee…
11:35

14/01/2010

problem solve… my fault… everything is a.o.k.. I just rewrite or copy .. and voila it works GREAT!!! cant really explain .. Jqgrid ROCK!
hv I one last problem though, my search didnt work…. any idea where i should put the ".$wh." in my code???
or do i need to do something else…
Most Users Ever Online: 715
Currently Online:
86 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66