Hi,
I just realized that setAutoComplete has a limitation for only 10 rows…
|
1 2 3 4 5 6 7 8 9 10 11 |
$grid->setAutocomplete("TRUCKING","#TRUCKINGID","select cc.nama || ' | ' || ss.dari || ' | ' || ss.tujuan || ' | ' || ss.tipe || ' | ' || cast (ss.tarif as integer) , cc.nama || ' | ' || ss.dari || ' | ' || ss.tujuan || ' | ' || ss.tipe || ' | ' || cast (ss.tarif as integer) , ss.tarifsupid from customer cc inner join tarif_supplier ss on cc.customerid = ss.customerid where cc.tipe = 'TRUCKING' and ss.status = 'Aktif' and ( cc.nama LIKE upper( ? ) or ss.tujuan LIKE upper( ? )) ORDER BY cc.nama ",null, true, true); |
How can we add more rows ?
Rgds,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top